Permalink
Browse files

refactor style.css and step_definitions

  • Loading branch information...
1 parent 0fa866c commit dd7d45103dea8e2da79bcddea3871a6df26903d8 @rweald committed Jan 13, 2011
Showing with 4 additions and 2 deletions.
  1. +3 −1 features/step_definitions/snack_creation_steps.rb
  2. +1 −1 public/stylesheets/style.css
@@ -12,7 +12,9 @@
When /^I create a new snack using the snack form$/ do
visit(snacks_path)
- page.find(:xpath, "//a").click
+ page.find(:xpath, "//a[contains(@id, 'show_form')]").click
+ save_and_open_page
+ # click_link("#show_form")
# within(".form_container") do
fill_in "snack_name", :with => "cheeseitz"
fill_in "snack_category", :with => "junk"
@@ -105,7 +105,7 @@ table tbody tr:hover{
margin-top: 20px;
border: 2px solid #999;
padding: 5px;
-/* display:none;*/
+ display:none;
}
.form_container .field{

0 comments on commit dd7d451

Please sign in to comment.