This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) UsersController#index returns a paginated collection | |
Failure/Error: assigns[:users].should be_an_instance_of(WillPaginate::Collection) | |
expected [#<User id: 1, name: "name-1", created_at: "2010-11-08 17:20:42", updated_at: "2010-11-08 17:20:42">, #<User id: 2, name: "name-2", created_at: "2010-11-08 17:20:42", updated_at: "2010-11-08 17:20:42">, #<User id: 3, name: "name-3", created_at: "2010-11-08 17:20:42", updated_at: "2010-11-08 17:20:42">, #<User id: 4, name: "name-4", created_at: "2010-11-08 17:20:42", updated_at: "2010-11-08 17:20:42">, #<User id: 5, name: "name-5", created_at: "2010-11-08 17:20:42", updated_at: "2010-11-08 17:20:42">] to be an instance of WillPaginate::Collection | |
# /Users/lar/.rvm/gems/ruby-1.9.2-p0@rspec_bug/gems/rspec-expectations-2.1.0/lib/rspec/expectations/fail_with.rb:29:in `fail_with' | |
# /Users/lar/.rvm/gems/ruby-1.9.2-p0@rspec_bug/gems/rspec-expectations-2.1.0/lib/rspec/expectations/handler.rb:21:in `handle_matcher' | |
# /Users/lar/.rvm/gems/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rfm::Base.setup do |config| # in initializer folder | |
config.host 'my.host.name', 20000 | |
config.auth 'account', 'password' | |
config.pem 'path/to/pem_file.pem' | |
config.database 'company_database' | |
end | |
Rfm::Base.host = 'my.diff_host.name' # can be overridden individually | |
class FmUser < Rfm::Base |
NewerOlder