Skip to content

Commit

Permalink
Including test-unit in the Gemfile. Should work well for 1.9.2 folks,…
Browse files Browse the repository at this point in the history
… CI will confirm. [concerto#133 state:open]
  • Loading branch information
bamnet committed Mar 17, 2011
1 parent 59a4e2f commit 2bfe146
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ gem "rmagick", ">= 2.12.2"
# We use jquery
gem "jquery-rails"

# Ruby 1.9.2 doesn't include unit testing by default
gem 'test-unit'

# gem "sqlite3-ruby", :require => "sqlite3"

## Bundle gems used only in certain environments:
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ GEM
thor (~> 0.14.4)
rake (0.8.7)
rmagick (2.13.1)
test-unit (2.2.0)
test_benchmark (0.4.7)
thor (0.14.6)
treetop (1.4.9)
Expand All @@ -78,4 +79,5 @@ DEPENDENCIES
mysql
rails (= 3.0.5)
rmagick (>= 2.12.2)
test-unit
test_benchmark
2 changes: 1 addition & 1 deletion test/unit/feed_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class FeedTest < ActiveSupport::TestCase
test "feed descendants" do
assert feeds(:service).descendants.empty?

assert feeds(:announcements).descendants.size, 3
assert_equal feeds(:announcements).descendants.size, 3
assert feeds(:announcements).descendants.include?(feeds(:boring_announcements))
assert feeds(:announcements).descendants.include?(feeds(:sleepy_announcements))
assert feeds(:announcements).descendants.include?(feeds(:important_announcements))
Expand Down

0 comments on commit 2bfe146

Please sign in to comment.