README.txt in pagemodels-0.1.2 vs README.txt in pagemodels-0.1.3

- old
+ new

@@ -4,11 +4,12 @@ ~~~~~~~~ # env.rb require 'pagemodels' PageModels.configure do |config| - config.driver = :capybara + config.driver = :capybara # Or :celerity, :firefox, :chrome, :ie (browsers will use watir-webdriver) + config.base_url = "https://www.github.com" config.integrate :rspec config.integrate :cucumber config.integrate :rails end @@ -21,15 +22,15 @@ ~~~~~~~~~~~~~~~~~~~~~~ # my_cucumber_steps.rb When /I look at the commit history/ do - page_model.navigate_to_commits + page.navigate_to_commits end Then /I should see at least (\d+) commits/ do |count| - page_model.verify_commit_count(count) + page.verify_commit_count(count) end ~~~~~~~~~~~~~~~~~~~~~~ # GitHubProjectPage.rb @@ -37,10 +38,10 @@ def initialize(user, repo) @user, @repo = user, repo end def url - "https://www.github.com/#{@user}/#{@repo}/" + "/#{@user}/#{@repo}/" end def verify! should have_content "#{@user} / #{@repo}" should have_content "Source" \ No newline at end of file