thumblemonks-chicago 0.1.2.1 → 0.1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/chicago.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "chicago"
3
- s.version = "0.1.2.1"
3
+ s.version = "0.1.2.3"
4
4
  s.date = "2008-12-05"
5
5
  s.summary = "Sinatra runtime and testing extensions used commonly by Thumblemonks"
6
6
  s.email = %w[gus@gusg.us gabriel.gironda@gmail.com]
@@ -33,4 +33,4 @@ Gem::Specification.new do |s|
33
33
  test/helpers_test.rb
34
34
  test/test_helper.rb
35
35
  ]
36
- end
36
+ end
@@ -4,7 +4,10 @@ module Thumblemonks
4
4
 
5
5
  # Assumes all CSS is SASS and is referenced as being in a directory named stylesheets
6
6
  def catch_all_css(path='/stylesheets')
7
- get("#{path}/*.css") {sass params["splat"].first.to_sym}
7
+ get("#{path}/*.css") do
8
+ content_type 'text/css'
9
+ sass params["splat"].first.to_sym
10
+ end
8
11
  end
9
12
 
10
13
  # When you don't want anything special, but to load a named view
@@ -9,6 +9,7 @@ class ApplicationTest < Test::Unit::TestCase
9
9
  end
10
10
 
11
11
  should_have_response_status 200
12
+ should_have_content_type 'text/css'
12
13
  should_have_response_body %r[.bar \{\s+display: none; \}\s]
13
14
  end
14
15
 
@@ -18,6 +19,7 @@ class ApplicationTest < Test::Unit::TestCase
18
19
  end
19
20
 
20
21
  should_have_response_status 200
22
+ should_have_content_type 'text/css'
21
23
  should_have_response_body %r[.car \{\s+display: some; \}\s]
22
24
  end
23
25
  end # catching all css
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thumblemonks-chicago
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.1
4
+ version: 0.1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Knowlden