Commit 0cf2926d

mo khan <mo@mokhan.ca>
2013-07-27 04:57:39
adjust specs to get them to work headlessly
1 parent a10dec8
spec/features/change_password_spec.rb
@@ -11,8 +11,8 @@ describe "changing my password" do
         fill_in('user_password', :with => "password")
       end
       click_button("Sign In")
-      #click_link(user.name)
       visit settings_path
+      #click_link(user.name)
       #click_link("Settings")
       click_link("Password")
       within(".form-horizontal") do
spec/features/upload_creation_spec.rb
@@ -1,6 +1,6 @@
 require "spec_helper"
 
-describe "uploading a new creation", :js => true do
+describe "uploading a new creation" do
   let!(:user) { create(:user, :password => "password") }
   let!(:category_1) { create(:category) }
   let!(:category_2) { create(:category) }
@@ -13,6 +13,7 @@ describe "uploading a new creation", :js => true do
     end
     click_button("Sign In")
     click_link("Add Creation")
+    #visit new_creation_path
 
     within(".form-horizontal") do
       fill_in("creation_name", :with => "yummy cake")