Module: RSpec::RemoteFixtures::ExampleGroup

Defined in:
lib/rspec/remote_fixtures/example_group.rb

Overview

Hooks into RSpec so that RemoteFixtures is available in examples

Instance Method Summary collapse

Instance Method Details

#fixture_file_upload(path, mime = nil, binary = false) ⇒ Object

need to maintain compatibility with rspec-rails rubocop:disable Style/OptionalBooleanParameter



13
14
15
16
# File 'lib/rspec/remote_fixtures/example_group.rb', line 13

def fixture_file_upload(path, mime = nil, binary = false)
  RemoteFixtures.ensure_file(path)
  super(path, mime, binary)
end

#remote_fixture_path(path) ⇒ Object



7
8
9
# File 'lib/rspec/remote_fixtures/example_group.rb', line 7

def remote_fixture_path(path)
  RemoteFixtures.ensure_file(path)
end