From 72ec3c515f94c094e4c6f7f9e2238c50f5153ebf Mon Sep 17 00:00:00 2001 From: Luke Cunningham Date: Tue, 27 Apr 2010 11:55:53 +1000 Subject: [PATCH] removed commented steps, and uneccessary attr_reader :mixin --- features/step_definitions/github_example_steps.rb | 2 -- lib/gizmo/page.rb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/features/step_definitions/github_example_steps.rb b/features/step_definitions/github_example_steps.rb index f05f34e..58035d4 100644 --- a/features/step_definitions/github_example_steps.rb +++ b/features/step_definitions/github_example_steps.rb @@ -4,8 +4,6 @@ When /^the user enters "([^\"]*)" into the search box and clicks the magnifying glass icon$/ do |query| on_page_with :github_search do |page| - # fill_in page.search_form.input.attr('name').value, :with => text - # click page.search_form.submit.attr('alt').value page.perform :search, query end end diff --git a/lib/gizmo/page.rb b/lib/gizmo/page.rb index 507316a..e98494d 100644 --- a/lib/gizmo/page.rb +++ b/lib/gizmo/page.rb @@ -2,7 +2,7 @@ module Gizmo class Page - attr_reader :mixins, :url, :document + attr_reader :url, :document def initialize driver, content, url @browser = driver