Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
add have alias for select
Browse files Browse the repository at this point in the history
  • Loading branch information
vann committed Mar 30, 2009
1 parent 599ec4d commit 7d04477
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/test/spec/rails/should_select.rb
Expand Up @@ -39,6 +39,7 @@ def select(selector, equality=true, message=nil, &block)

# because contain sounds better imo
alias :contain :select
alias :have :select
end

module Test::Spec::Rails::ShouldNotSelect
Expand Down

0 comments on commit 7d04477

Please sign in to comment.