Permalink
Browse files

Fixed a couple of warnings.

  • Loading branch information...
1 parent 8d7c29f commit 54ed5a58ad260c01cb0330589c14dca496b8afb8 Brian Takita committed Jul 17, 2011
View
2 lib/rr/double_definitions/double_definition.rb
@@ -26,8 +26,6 @@ def initialize(double_definition_create)
@verify_method_signature = false
end
- attr_reader :argument_expectation
-
def subject
double_definition_create.subject
end
View
2 spec/rr/double_injection/double_injection_verify_spec.rb
@@ -4,7 +4,7 @@ module RR
module Injections
describe DoubleInjection, "#verify" do
it_should_behave_like "Swapped Space"
- attr_reader :space, :subject, :method_name, :double_injection
+ attr_reader :subject, :method_name, :double_injection
before do
@subject = Object.new
@method_name = :foobar
View
2 spec/rr/space/space_spec.rb
@@ -3,7 +3,7 @@
module RR
describe Space do
it_should_behave_like "Swapped Space"
- attr_reader :space, :subject, :method_name, :double_injection
+ attr_reader :subject, :method_name, :double_injection
before do
@subject = Object.new

0 comments on commit 54ed5a5

Please sign in to comment.