Skip to content

Commit

Permalink
Remove unnecessary guard clause from spec
Browse files Browse the repository at this point in the history
  • Loading branch information
dkubb committed Dec 14, 2013
1 parent c01122c commit ae249e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/memoizable/module_methods/memoize_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
expect(instance.send(method)).to be(instance.send(method))
end

it 'creates a zero arity method', :unless => RUBY_VERSION == '1.8.7' do
it 'creates a zero arity method' do
subject
expect(object.new.method(method).arity).to be_zero
end
Expand Down

0 comments on commit ae249e1

Please sign in to comment.