Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clean up role spec

  • Loading branch information...
commit 34883bff05c72c14d32e0e03bc89cdf27af374bd 1 parent e3add21
@saturnflyer authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/models/role_spec.rb
View
6 spec/models/role_spec.rb
@@ -6,7 +6,7 @@
Role.new.save!
lambda {
Role.new.save!
- }.should raise_error(ActiveRecord::RecordInvalid, /has already been taken/)
+ }.should raise_error(ActiveRecord::RecordInvalid, /is already in use/)
end
it "should not err when saved with a standard Radiant Role name" do
@@ -14,8 +14,8 @@
end
describe 'Role::RADIANT_STANDARDS' do
- it "should be an array of 'admin' and 'developer'" do
- Role::RADIANT_STANDARDS.should == ['admin','developer']
+ it "should be an array of 'admin' and 'designer'" do
+ Role::RADIANT_STANDARDS.should == ['admin','designer']
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.