Fix tests view for smart listing
This commit is contained in:
parent
ad300319f4
commit
64909e85a4
3 changed files with 36 additions and 6 deletions
|
@ -51,6 +51,17 @@ SIADETOKEN = :valid_token unless defined? SIADETOKEN
|
|||
|
||||
include Warden::Test::Helpers
|
||||
|
||||
include SmartListing::Helper
|
||||
include SmartListing::Helper::ControllerExtensions
|
||||
|
||||
module SmartListing
|
||||
module Helper
|
||||
def view_context
|
||||
'mock'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
WebMock.disable_net_connect!(allow_localhost: true)
|
||||
|
||||
RSpec.configure do |config|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue