Sha256: 2ea0f339f1bfd43a687ad34d29bca85196f4298ca4ef9143f5434f9c6e130782

Contents?: true

Size: 441 Bytes

Versions: 19

Compression:

Stored size: 441 Bytes

Contents

require File.dirname(__FILE__) + '/../../../spec_helper'

describe "A shared view example_group", :shared => true do
  it "should have some tag with some text" do
    response.should have_tag('div', 'This is text from a method in the ViewSpecHelper')
  end
end

describe "A view example_group", :type => :view do
  it_should_behave_like "A shared view example_group"
  
  before(:each) do
    render "view_spec/implicit_helper"
  end
end
  

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
dchelimsky-rspec-rails-1.1.11.4 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.11.5 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.11.6 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.11.7 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.12 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.99.1 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.99.2 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.99.3 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.99.4 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.99.5 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.99.6 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.99.7 spec/spec/rails/example/shared_behaviour_spec.rb
dchelimsky-rspec-rails-1.1.99.8 spec/spec/rails/example/shared_behaviour_spec.rb
rspec-rails-1.1.12 spec/spec/rails/example/shared_behaviour_spec.rb
spree-0.6.0 vendor/plugins/rspec-rails/spec/spec/rails/example/shared_behaviour_spec.rb
spree-0.7.1 vendor/plugins/rspec-rails/spec/spec/rails/example/shared_behaviour_spec.rb
spree-0.7.0 vendor/plugins/rspec-rails/spec/spec/rails/example/shared_behaviour_spec.rb
spree-0.8.0 vendor/plugins/rspec-rails/spec/spec/rails/example/shared_behaviour_spec.rb
spree-0.8.1 vendor/plugins/rspec-rails/spec/spec/rails/example/shared_behaviour_spec.rb