Sha256: 7fc3bac1ede5bb85d4637828379220299be6040e60af18b96ea06e56826faa06
Contents?: true
Size: 795 Bytes
Versions: 24
Compression:
Stored size: 795 Bytes
Contents
require 'spec_helper' describe "agent_types/show" do before(:each) do @agent_type = assign(:agent_type, stub_model(AgentType, :name => "Name", :display_name => "MyText", :note => "MyText", :position => 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(/Name/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/MyText/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/MyText/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/1/) end end
Version data entries
24 entries across 24 versions & 1 rubygems