muck-shares 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,18 +29,18 @@ class ShareTest < ActiveSupport::TestCase
29
29
 
30
30
  should "Add an activity" do
31
31
  assert_difference "Activity.count", 1 do
32
- @share.add_share_activities(@user)
32
+ @share.add_share_activity(@user)
33
33
  end
34
34
  end
35
35
 
36
36
  should "Add an activity without specifying share_to" do
37
37
  assert_difference "Activity.count", 1 do
38
- @share.add_share_activities
38
+ @share.add_share_activity
39
39
  end
40
40
  end
41
41
 
42
42
  should "Add an activity for self and friend" do
43
- activity = @share.add_share_activities([@user, @friend])
43
+ activity = @share.add_share_activity([@user, @friend])
44
44
  @user.reload
45
45
  @friend.reload
46
46
  assert @user.activities.include?(activity)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-shares
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-13 00:00:00 -06:00
12
+ date: 2009-09-10 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -382,6 +382,8 @@ files:
382
382
  - uninstall.rb
383
383
  has_rdoc: true
384
384
  homepage: http://github.com/jbasdf/muck_shares
385
+ licenses: []
386
+
385
387
  post_install_message:
386
388
  rdoc_options:
387
389
  - --charset=UTF-8
@@ -402,9 +404,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
402
404
  requirements: []
403
405
 
404
406
  rubyforge_project: muck-shares
405
- rubygems_version: 1.3.1
407
+ rubygems_version: 1.3.5
406
408
  signing_key:
407
- specification_version: 2
409
+ specification_version: 3
408
410
  summary: The share engine for the muck system
409
411
  test_files:
410
412
  - test/rails_root/app/controllers/application_controller.rb