Permalink
Browse files

moved include test from sinatra_spec to google-webfonts_spec

  • Loading branch information...
1 parent 0e912bb commit 5435d61002d5064e51cf84867c4dd7cb9a17aa05 @travishaynes committed Mar 25, 2012
Showing with 4 additions and 4 deletions.
  1. +0 −4 spec/google-webfonts/sinatra_spec.rb
  2. +4 −0 spec/google-webfonts_spec.rb
@@ -8,10 +8,6 @@ def app
Sinatra::Application
end
- it "should include Google::Webfonts::Helper in Sinatra::Application" do
- Sinatra::Application.ancestors.should include Google::Webfonts::Helper
- end
-
it "should respond to google_webfonts_link_tag" do
tag = "<link href=\"http://fonts.googleapis.com/css?family=Droid+Sans\" rel=\"stylesheet\" type=\"text/css\" />"
@@ -4,4 +4,8 @@
it "should include Helper in ActionView::Base" do
ActionView::Base.ancestors.should include Google::Webfonts::Helper
end
+
+ it "should include Google::Webfonts::Helper in Sinatra::Application" do
+ Sinatra::Application.ancestors.should include Google::Webfonts::Helper
+ end
end

0 comments on commit 5435d61

Please sign in to comment.