Skip to content

Instantly share code, notes, and snippets.

@jbourassa
Created March 1, 2013 01:55
Show Gist options
  • Save jbourassa/5061896 to your computer and use it in GitHub Desktop.
Save jbourassa/5061896 to your computer and use it in GitHub Desktop.
Fix refinerycms-page-images specs
diff --git a/spec/requests/attach_page_images_spec.rb b/spec/requests/attach_page_images_spec.rb
index 6a6692e..d2f9b91 100644
--- a/spec/requests/attach_page_images_spec.rb
+++ b/spec/requests/attach_page_images_spec.rb
@@ -12,7 +12,7 @@ describe "attach page images" do
end
it "shows images tab" do
- within "#custom_images_tab" do
+ within "#custom_Images_tab" do
page.should have_content("Images")
end
end
@@ -20,7 +20,7 @@ describe "attach page images" do
# This spec actually is broken in a way because Add Image link would
# be visible to capybara even if we don't click on Images tab.
it "shows add image link" do
- within "#custom_images_tab" do
+ within "#custom_Images_tab" do
click_link "Images"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment