Created
October 17, 2011 14:33
-
-
Save HeroicEric/1292724 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe DomainsController do | |
render_views | |
context "#show" do | |
it "should have the correct domain name on the page" do | |
domain = Domain.create!(:name => "Example Dossmain") | |
visit domain_path(domain) | |
page.should have_content("Example Domain") | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment