d834b81003
git-subtree-dir: map-mash git-subtree-mainline:eacc351b17
git-subtree-split:7f16409d12
16 lines
292 B
Ruby
16 lines
292 B
Ruby
require 'spec_helper'
|
|
|
|
describe "/maps/show.html.erb" do
|
|
include MapsHelper
|
|
before(:each) do
|
|
assigns[:map] = @map = stub_model(Map,
|
|
:name => "value for name"
|
|
)
|
|
end
|
|
|
|
it "renders attributes in <p>" do
|
|
render
|
|
response.should have_text(/value\ for\ name/)
|
|
end
|
|
end
|