Permalink
Browse files

remove "warning: parenthesize argument(s) for future version"

- Closes #253.
  • Loading branch information...
1 parent 6ad6a41 commit e9dcfe86faf12b5eb63a6a176127a55f61c2ce52 @jarmo jarmo committed with dchelimsky Dec 15, 2010
Showing with 3 additions and 3 deletions.
  1. +2 −2 spec/rspec/core/formatters/documentation_formatter_spec.rb
  2. +1 −1 spec/rspec/core/subject_spec.rb
@@ -49,7 +49,7 @@ module RSpec::Core::Formatters
group.run(RSpec::Core::Reporter.new(formatter))
- output.string.should eql "
+ output.string.should eql("
root
context 1
nested example 1.1
@@ -60,7 +60,7 @@ module RSpec::Core::Formatters
context 2
nested example 2.1
nested example 2.2
-"
+")
end
end
end
@@ -85,7 +85,7 @@ module RSpec::Core
subject { self }
def ok?; true; end
- it { should eq self }
+ it { should eq(self) }
it { should be_ok }
end

0 comments on commit e9dcfe8

Please sign in to comment.