Sha256: c10ac7e86213793af69b8ea969462abf4c17c4efddffb6a874c2162728a3241b
Contents?: true
Size: 404 Bytes
Versions: 1
Compression:
Stored size: 404 Bytes
Contents
require 'spec_helper' describe "other_items/show" do before(:each) do @other_item = assign(:other_item, stub_model(OtherItem, :title => "Title", :sequence => 1 )) end it "renders attributes in <p>" do render # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/Title/) rendered.should match(/1/) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_sortable-0.0.5 | spec/dummy/spec/views/other_items/show.html.erb_spec.rb |