Skip to content

Commit

Permalink
Removed errant reference to 'wymedtior'. (ht: @anitagraham)
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Aug 19, 2014
1 parent 2d536cb commit f28a9e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions images/spec/features/refinery/admin/images_spec.rb
Expand Up @@ -57,7 +57,7 @@ module Refinery

context "new/create - insert mode" do
it "uploads image", :js => true do
visit refinery.insert_admin_images_path(:modal => true, :wymedtior => true)
visit refinery.insert_admin_images_path(:modal => true)

attach_file "image_image", Refinery.roots('refinery/images').join("spec/fixtures/image-with-dashes.jpg")
click_button ::I18n.t('save', :scope => 'refinery.admin.form_actions')
Expand All @@ -67,7 +67,7 @@ module Refinery
end

it "gets error message when uploading non-image", :js => true do
visit refinery.insert_admin_images_path(:modal => true, :wymedtior => true)
visit refinery.insert_admin_images_path(:modal => true)

attach_file "image_image", Refinery.roots('refinery/images').join("spec/fixtures/cape-town-tide-table.pdf")
click_button ::I18n.t('save', :scope => 'refinery.admin.form_actions')
Expand All @@ -79,7 +79,7 @@ module Refinery

it "gets error message when uploading non-image (when an image already exists)", :js => true do
FactoryGirl.create(:image)
visit refinery.insert_admin_images_path(:modal => true, :wymedtior => true)
visit refinery.insert_admin_images_path(:modal => true)

choose 'Upload'
attach_file "image_image", Refinery.roots('refinery/images').join("spec/fixtures/cape-town-tide-table.pdf")
Expand Down

0 comments on commit f28a9e5

Please sign in to comment.