Sha256: c3da25cdae1da7f161c67151e35c57462ad2a002f4412565bec2b0a8ebbf0d11

Contents?: true

Size: 467 Bytes

Versions: 3

Compression:

Stored size: 467 Bytes

Contents

require File.expand_path("#{File.dirname(__FILE__)}/webrat_spec_helper")

describe Spec::Rails::Example::WebratExampleGroup do
  describe "#describe" do
    it "creates a WebratExampleGroup when in the webrat directory" do
      is_a?(Spec::Rails::Example::WebratExampleGroup).should be_true
    end
  end

  describe "GET /users" do
    it "works" do
      visit users_path

      current_dom.text.should include("All your users are belong to us")
    end
  end

end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
pivotal-webrat-rspec-rails-0.1.1 spec/rails_root/spec/webrat/webrat_example_group_spec.rb
honkster-webrat-rspec-rails-0.1.1 spec/rails_root/spec/webrat/webrat_example_group_spec.rb
webrat-rspec-rails-0.1.1 spec/rails_root/spec/webrat/webrat_example_group_spec.rb