acts_as_assets 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ # encoding: utf-8
2
+ require "spec_helper"
3
+ include ActionView::Helpers::FormTagHelper
4
+ describe "#model_assets" do
5
+ it "should call all the methods in the array" do
6
+ asset_instances(Book.new, [:assets]).klass.should eq Books::Asset
7
+
8
+ end
9
+
10
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -206,6 +206,7 @@ files:
206
206
  - spec/dummy/Rakefile
207
207
  - spec/dummy/README.rdoc
208
208
  - spec/dummy/script/rails
209
+ - spec/lib/form_helper_spec.rb
209
210
  - spec/resources/jpg_test.jpg
210
211
  - spec/routing/assets_routing_spec.rb
211
212
  - spec/rspec_matchers_spec.rb
@@ -231,7 +232,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
231
232
  version: '0'
232
233
  segments:
233
234
  - 0
234
- hash: 4562825233494503054
235
+ hash: 690626819376096242
235
236
  required_rubygems_version: !ruby/object:Gem::Requirement
236
237
  none: false
237
238
  requirements:
@@ -240,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
241
  version: '0'
241
242
  segments:
242
243
  - 0
243
- hash: 4562825233494503054
244
+ hash: 690626819376096242
244
245
  requirements: []
245
246
  rubyforge_project:
246
247
  rubygems_version: 1.8.21
@@ -283,6 +284,7 @@ test_files:
283
284
  - spec/dummy/Rakefile
284
285
  - spec/dummy/README.rdoc
285
286
  - spec/dummy/script/rails
287
+ - spec/lib/form_helper_spec.rb
286
288
  - spec/resources/jpg_test.jpg
287
289
  - spec/routing/assets_routing_spec.rb
288
290
  - spec/rspec_matchers_spec.rb