Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix spec to check for siblings method

  • Loading branch information...
commit 303bad0bbb5f4083d6937f9d7c57d9c97d1755ef 1 parent e16331e
@oriolgual oriolgual authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/resort_spec.rb
View
2  spec/resort_spec.rb
@@ -17,7 +17,7 @@ module Resort
(class << subject.class; self; end).ancestors.should include(Sortable::ClassMethods)
end
it 'defines a siblings method' do
- subject.class.instance_methods.should include('siblings')
+ subject.should respond_to(:siblings)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.