Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 14 lines (11 sloc) 0.459 kB
18b45d5 @ryanb adding Gemfile, to get specs running just bundle and rake - closes #163
authored
1 RSpec::Matchers.define :orderlessly_match do |original_string|
e098dda @ryanb refactoring query.conditions
authored
2 match do |given_string|
9b26f4d @ryanb fixing specs for older versions of ruby and rspec
authored
3 original_string.split('').sort == given_string.split('').sort
e098dda @ryanb refactoring query.conditions
authored
4 end
5
6 failure_message_for_should do |given_string|
7 "expected \"#{given_string}\" to have the same characters as \"#{original_string}\""
8 end
9
10 failure_message_for_should_not do |given_string|
11 "expected \"#{given_string}\" not to have the same characters as \"#{original_string}\""
12 end
13 end
Something went wrong with that request. Please try again.