Skip to content

Commit

Permalink
added test helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Bass committed Aug 9, 2008
1 parent ad77ae7 commit 4c211f2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion finder_filter.gemspec
Expand Up @@ -13,7 +13,8 @@ Gem::Specification.new do |s|
"Rakefile",
"finder_filter.gemspec",
"lib/finder_filter.rb",
"spec/finder_filter_spec.rb"
"test/test_helper.rb",
"test/finder_filter_test.rb"
]
s.rdoc_options = ["--main", "README"]
s.extra_rdoc_files = ["README"]
Expand Down
6 changes: 1 addition & 5 deletions test/finder_filter_test.rb
@@ -1,8 +1,4 @@
require 'rubygems'
require 'test/spec'
require 'mocha'
require 'action_controller'
require File.expand_path(File.dirname(__FILE__) + '/../lib/finder_filter')
require File.expand_path(File.dirname(__FILE__) + '/test_helper')

describe FinderFilter do
it "should assign before filter and define method" do
Expand Down
6 changes: 6 additions & 0 deletions test/test_helper.rb
@@ -0,0 +1,6 @@
require 'rubygems'
require 'test/spec'
require 'mocha'
require 'action_controller'

require File.expand_path(File.dirname(__FILE__) + '/../lib/finder_filter')

0 comments on commit 4c211f2

Please sign in to comment.