Skip to content
Browse files

Upgrade rspec-fire.

  • Loading branch information...
1 parent 776356c commit 3f16403aaee2b89933bcd72d9baec54c0091ff07 @myronmarston myronmarston committed
Showing with 5 additions and 6 deletions.
  1. +0 −1 Gemfile
  2. +1 −1 interpol.gemspec
  3. +2 −2 spec/unit/interpol/endpoint_spec.rb
  4. +2 −2 spec/unit/interpol/response_schema_validator_spec.rb
View
1 Gemfile
@@ -15,4 +15,3 @@ gem 'json', :platform => 'ruby_18'
gem 'cane', '~> 2.0', :platform => 'ruby_19'
-gem 'rspec-fire', :git => 'git://github.com/xaviershay/rspec-fire.git'
View
2 interpol.gemspec
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
gem.add_dependency 'nokogiri', '~> 1.5'
gem.add_development_dependency 'rspec', '~> 2.13'
- gem.add_development_dependency 'rspec-fire', '~> 0.4'
+ gem.add_development_dependency 'rspec-fire', '~> 1.2'
gem.add_development_dependency 'simplecov', '~> 0.6'
gem.add_development_dependency 'tailor', '~> 0'
gem.add_development_dependency 'rake', '~> 0.9.2.2'
View
4 spec/unit/interpol/endpoint_spec.rb
@@ -209,7 +209,7 @@ def build_hash(hash = {})
let(:version) { '1.0' }
let(:config) { Configuration.new }
let(:endpoint) do
- fire_double("Interpol::Endpoint", :name => 'my-endpoint',
+ instance_double("Interpol::Endpoint", :name => 'my-endpoint',
:configuration => config).as_null_object
end
@@ -757,7 +757,7 @@ def new_with(hash)
describe EndpointExample do
- let(:definition) { fire_double("Interpol::EndpointDefinition") }
+ let(:definition) { instance_double("Interpol::EndpointDefinition") }
let(:data) { { "the" => "data" } }
let(:example) { EndpointExample.new(data, definition) }
View
4 spec/unit/interpol/response_schema_validator_spec.rb
@@ -73,9 +73,9 @@ def validate_response_if(&block)
end
end
- let(:validator) { fire_double("Interpol::EndpointDefinition", :validate_data! => nil) }
+ let(:validator) { instance_double("Interpol::EndpointDefinition", :validate_data! => nil) }
let(:endpoint) { new_endpoint }
- let(:default_definition_finder) { fire_double("Interpol::DefinitionFinder") }
+ let(:default_definition_finder) { instance_double("Interpol::DefinitionFinder") }
def stub_lookup(v = validator)
default_definition_finder.stub(:find_definition => v)

0 comments on commit 3f16403

Please sign in to comment.
Something went wrong with that request. Please try again.