Skip to content

Commit

Permalink
Finishing test overhaul.
Browse files Browse the repository at this point in the history
  • Loading branch information
veloper committed Jun 24, 2013
1 parent 2950fed commit 276c9c2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rend-acl.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
spec.files += ["LICENSE.txt", "ZEND_FRAMEWORK_LICENSE.txt"]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features|)/})
spec.require_paths = ["lib/rend"]
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
Expand Down
11 changes: 7 additions & 4 deletions test/helper.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# https://coveralls.io Integration
require 'coveralls'
Coveralls.wear!

# Gem
require 'rend/acl'

# Testing Support
require 'support/mock_assertion'
require 'support/passing_assertion'
require 'support/failing_assertion'

# Autorun tests
require "minitest/autorun"

# https://coveralls.io Integration
require 'coveralls'
Coveralls.wear!
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'helper'

class AclExamplesTest < Minitest::Test
class DocumentationExamplesTest < Minitest::Test

def setup
@acl = Rend::Acl.new
Expand Down

0 comments on commit 276c9c2

Please sign in to comment.