Skip to content

Commit

Permalink
No need for this to be run before every test.
Browse files Browse the repository at this point in the history
  • Loading branch information
aimee daniells committed Sep 20, 2010
1 parent 221c8ba commit 039b712
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.3.0
0.2.3
4 changes: 2 additions & 2 deletions test/test_view_helpers.rb
Expand Up @@ -13,7 +13,6 @@ def request
class ViewHelperTest < ActiveSupport::TestCase
def setup
@result = alphabetically_paginate([Thing.create!(:name => 'a')])
@result_with_class = alphabetically_paginate([Thing.create!(:name => 'a')], :class => 'overridden-class')
end

test "it includes all the letters" do
Expand Down Expand Up @@ -43,6 +42,7 @@ def setup
end

test "it allows the css class to be overridden" do
assert @result_with_class.include?('class="overridden-class"')
result_with_class = alphabetically_paginate([Thing.create!(:name => 'a')], :class => 'overridden-class')
assert result_with_class.include?('class="overridden-class"')
end
end

0 comments on commit 039b712

Please sign in to comment.