diff options
| author | mo k <mo@mokhan.ca> | 2012-05-22 07:57:54 -0600 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-05-22 07:57:54 -0600 |
| commit | f6b46ba7edffd80cee98abe46ba089ae4e4d733b (patch) | |
| tree | 8cc3afbed9875a55ecf27023e99ce60262888ad9 /spec/models | |
| parent | c245b717b187e149b0f93ee924f86b3ef6854342 (diff) | |
trying to figure out why the specs are failing after adding the website validation.
Diffstat (limited to 'spec/models')
| -rw-r--r-- | spec/models/user_spec.rb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 35445a67..bbe56d4e 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -1,15 +1,15 @@ -require 'spec_helper' +#require 'spec_helper' describe User do - describe "when a user already likes a creation" do - it "should not let the user like it again" do - creation = FactoryGirl.create(:creation) - user = FactoryGirl.create(:user) - user.add_favorite(creation) - user.add_favorite(creation) - creation.favorites.length.should eq(1) - end - end + #describe "when a user already likes a creation" do + #it "should not let the user like it again" do + #creation = FactoryGirl.create(:creation) + #user = FactoryGirl.create(:user) + #user.add_favorite(creation) + #user.add_favorite(creation) + #creation.favorites.length.should eq(1) + #end + #end describe "when a website url is supplied" do describe "when the url is valid" do let(:user) {User.new} |
