Skip to content

Undefined method `sub' on Ruby 1.9.2-p290 #2

@emachnic

Description

@emachnic

I've only been able to get tourbus to run on 1.8.7. When I try to run the tours on 1.9.2 I get the following error:

/Users/evan/.rvm/gems/ruby-1.9.2-p290@tourbus/gems/tourbus-2.0.1/lib/tourist.rb:79:in `block in tours': undefined method `sub' for :tour_projects:Symbol (NoMethodError)

Here is my project_test.rb file:

class ProjectTest < Tourist
  def tour_projects
    visit "http://localhost:3000/projects"
    assert_contain 'Listing projects'
  end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions