Created
September 28, 2011 17:57
-
-
Save HeroicEric/1248674 to your computer and use it in GitHub Desktop.
This file contains 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 | |
before(:each) do | |
@domain = Factory.create(:domain) | |
end | |
context "#update_keyword_data" do | |
before(:each) do | |
@keyword_terms = [ | |
"refurbished toughbooks", | |
"toughbook repair", | |
"toughbook touchscreen repair" | |
] | |
@keyword_terms.each do |term| | |
@domain.keywords << Factory.create(:keyword, :term => term) | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment