fogged 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,7 +49,6 @@ module Fogged
49
49
 
50
50
  test "should process resource image" do
51
51
  @resource = fogged_resources(:resource_png)
52
- FastImage.expects(:size).returns([800, 600])
53
52
 
54
53
  @resource.process!
55
54
  assert_equal 800, @resource.width
data/test/test_helper.rb CHANGED
@@ -21,6 +21,7 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
21
21
 
22
22
  # Load fixtures from the engine
23
23
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
24
+ Fogged.test_mode!
24
25
 
25
26
  class ActiveSupport::TestCase
26
27
  fixtures :all
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fogged
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Fernandez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-06 00:00:00.000000000 Z
11
+ date: 2014-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -189,6 +189,8 @@ files:
189
189
  - lib/fogged/engine.rb
190
190
  - lib/fogged/version.rb
191
191
  - lib/tasks/fogged_tasks.rake
192
+ - test/controllers/concerns/json_test_helper.rb
193
+ - test/controllers/concerns/resource_test_helper.rb
192
194
  - test/controllers/fogged/resources_controller/confirm_test.rb
193
195
  - test/controllers/fogged/resources_controller/create_test.rb
194
196
  - test/controllers/fogged/resources_controller/destroy_test.rb
@@ -255,8 +257,6 @@ files:
255
257
  - test/models/fogged/resource_test.rb
256
258
  - test/models/fogged/resources/aws_encoder_test.rb
257
259
  - test/models/fogged/resources/encoder_test.rb
258
- - test/support/concerns/json_test_helper.rb
259
- - test/support/concerns/resource_test_helper.rb
260
260
  - test/test_helper.rb
261
261
  homepage: https://github.com/gatemedia/fogged
262
262
  licenses:
@@ -283,6 +283,8 @@ signing_key:
283
283
  specification_version: 4
284
284
  summary: Fogged, a Fog rails helper
285
285
  test_files:
286
+ - test/controllers/concerns/json_test_helper.rb
287
+ - test/controllers/concerns/resource_test_helper.rb
286
288
  - test/controllers/fogged/resources_controller/confirm_test.rb
287
289
  - test/controllers/fogged/resources_controller/create_test.rb
288
290
  - test/controllers/fogged/resources_controller/destroy_test.rb
@@ -349,6 +351,4 @@ test_files:
349
351
  - test/models/fogged/resource_test.rb
350
352
  - test/models/fogged/resources/aws_encoder_test.rb
351
353
  - test/models/fogged/resources/encoder_test.rb
352
- - test/support/concerns/json_test_helper.rb
353
- - test/support/concerns/resource_test_helper.rb
354
354
  - test/test_helper.rb