Skip to content

Instantly share code, notes, and snippets.

@HeroicEric
Created October 17, 2011 14:33
Show Gist options
  • Save HeroicEric/1292724 to your computer and use it in GitHub Desktop.
Save HeroicEric/1292724 to your computer and use it in GitHub Desktop.
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