Permalink
Browse files

fixing build

  • Loading branch information...
1 parent 4105f8f commit 146e74d5d3a5c55a8ff550554828a1a27097fc39 Aaron Bedra committed May 22, 2009
View
@@ -58,38 +58,6 @@ Gem::Specification.new do |s|
"lib/castronaut/support/sample.rb",
"lib/castronaut/ticket_result.rb",
"lib/castronaut/utilities/random_string.rb",
- "spec/app/controllers/application_spec.rb",
- "spec/app/controllers/db/cas.db",
- "spec/app/controllers/db/cas_adapter.db",
- "spec/app/controllers/log/castronaut.log",
- "spec/castronaut/adapters/development/adapter_spec.rb",
- "spec/castronaut/adapters/development/user_spec.rb",
- "spec/castronaut/adapters/ldap/adapter_spec.rb",
- "spec/castronaut/adapters/ldap/user_spec.rb",
- "spec/castronaut/adapters/restful_authentication/adapter_spec.rb",
- "spec/castronaut/adapters/restful_authentication/user_spec.rb",
- "spec/castronaut/adapters_spec.rb",
- "spec/castronaut/authentication_result_spec.rb",
- "spec/castronaut/configuration_spec.rb",
- "spec/castronaut/models/consumeable_spec.rb",
- "spec/castronaut/models/dispenser_spec.rb",
- "spec/castronaut/models/login_ticket_spec.rb",
- "spec/castronaut/models/proxy_granting_ticket_spec.rb",
- "spec/castronaut/models/proxy_ticket_spec.rb",
- "spec/castronaut/models/service_ticket_spec.rb",
- "spec/castronaut/models/ticket_granting_ticket_spec.rb",
- "spec/castronaut/presenters/login_spec.rb",
- "spec/castronaut/presenters/logout_spec.rb",
- "spec/castronaut/presenters/process_login_spec.rb",
- "spec/castronaut/presenters/proxy_validate_spec.rb",
- "spec/castronaut/presenters/service_validate_spec.rb",
- "spec/castronaut/ticket_result_spec.rb",
- "spec/castronaut/utilities/random_string_spec.rb",
- "spec/castronaut_spec.rb",
- "spec/spec.opts",
- "spec/spec_controller_helper.rb",
- "spec/spec_helper.rb",
- "spec/spec_rails_mocks.rb",
"vendor/activerecord/CHANGELOG",
"vendor/activerecord/README",
"vendor/activerecord/RUNNING_UNIT_TESTS",
@@ -32,7 +32,7 @@
it "returns a Castronaut::AuthenticationResult object with the unable to authenticate user message" do
Castronaut::Adapters::Development::User.stub!(:find_by_login).and_return(nil)
- Castronaut::Adapters::Development::User.authenticate('bob', '1234').error_message.should == "Unable to authenticate the username bob"
+ Castronaut::Adapters::Development::User.authenticate('bob', '1234').error_message.should == "Unable to authenticate"
end
end
@@ -43,7 +43,7 @@
it "returns a Castronaut::AuthenticationResult object with the unable to authenticate user message" do
Castronaut::Adapters::Development::User.stub!(:find_by_login).and_return(stub(:crypted_password => "a", :salt => "b").as_null_object)
- Castronaut::Adapters::Development::User.authenticate('bob', '1234').error_message.should == "Unable to authenticate the username bob"
+ Castronaut::Adapters::Development::User.authenticate('bob', '1234').error_message.should == "Unable to authenticate"
end
end
@@ -17,7 +17,7 @@
connection.stub!(:authenticate).and_return(nil)
connection.stub!(:bind).and_return(false)
result = Castronaut::Adapters::Ldap::User.authenticate('cn=bob, dc=example, dc=com', 'bad_password')
- result.error_message.should == "Unable to authenticate the username cn=bob, dc=example, dc=com"
+ result.error_message.should == "Unable to authenticate"
end
end
@@ -75,7 +75,7 @@
it "returns a Castronaut::AuthenticationResult object with the unable to authenticate user message" do
Castronaut::Adapters::RestfulAuthentication::User.stub!(:find_by_login).and_return(nil)
- Castronaut::Adapters::RestfulAuthentication::User.authenticate('bob', '1234').error_message.should == "Unable to authenticate the username bob"
+ Castronaut::Adapters::RestfulAuthentication::User.authenticate('bob', '1234').error_message.should == "Unable to authenticate"
end
end
@@ -86,7 +86,7 @@
it "returns a Castronaut::AuthenticationResult object with the unable to authenticate user message" do
Castronaut::Adapters::RestfulAuthentication::User.stub!(:find_by_login).and_return(stub(:crypted_password => "a", :salt => "b").as_null_object)
- Castronaut::Adapters::RestfulAuthentication::User.authenticate('bob', '1234').error_message.should == "Unable to authenticate the username bob"
+ Castronaut::Adapters::RestfulAuthentication::User.authenticate('bob', '1234').error_message.should == "Unable to authenticate"
end
end

0 comments on commit 146e74d

Please sign in to comment.