Permalink
Browse files

MiniTest > Minitest

Sad, but true. We should be consistent with minitest-rails in this way.
  • Loading branch information...
1 parent 98f2df7 commit b1078ee461fa03267d80b542cf6f40bb0628d782 @blowmage committed Aug 2, 2012
Showing with 9 additions and 9 deletions.
  1. +1 −1 Rakefile
  2. +1 −1 lib/minitest-rails-capybara.rb
  3. +3 −3 minitest-rails-capybara.gemspec
  4. +4 −4 test/test_minitest_rails_capybara.rb
View
@@ -11,7 +11,7 @@ Hoe.spec 'minitest-rails-capybara' do
developer 'Mike Moore', 'mike@blowmage.com'
self.summary = 'Capybara integration for MiniTest::Rails.'
- self.description = 'Adds Capybara to acceptance tests in Minitest::Rails.'
+ self.description = 'Adds Capybara to acceptance tests in MiniTest::Rails.'
self.urls = ['http://blowmage.com/minitest-rails-capybara']
self.history_file = "CHANGELOG.rdoc"
@@ -1,6 +1,6 @@
require "minitest-rails"
-module Minitest
+module MiniTest
module Rails
module Capybara
VERSION = "0.0.2"
@@ -2,12 +2,12 @@
Gem::Specification.new do |s|
s.name = "minitest-rails-capybara"
- s.version = "0.0.2.20120709105721"
+ s.version = "0.0.2.20120802073915"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Mike Moore"]
- s.date = "2012-07-09"
- s.description = "Adds Capybara to acceptance tests in Minitest::Rails."
+ s.date = "2012-08-02"
+ s.description = "Adds Capybara to acceptance tests in MiniTest::Rails."
s.email = ["mike@blowmage.com"]
s.extra_rdoc_files = ["CHANGELOG.rdoc", "Manifest.txt", "README.rdoc"]
s.files = [".autotest", ".gemtest", "CHANGELOG.rdoc", "LICENSE", "Manifest.txt", "README.rdoc", "Rakefile", "lib/minitest-rails-capybara.rb", "lib/minitest/rails/capybara.rb", "minitest-rails-capybara.gemspec", "test/test_minitest_rails_capybara.rb"]
@@ -1,8 +1,8 @@
-require "test/unit"
-require "minitest/rails/capybara"
+require "minitest/autorun"
+require "minitest-rails-capybara"
-class TestMinitest::Rails::Capybara < Test::Unit::TestCase
+class TestMiniTestRailsCapybara < MiniTest::Unit::TestCase
def test_sanity
- flunk "write tests or I will kneecap you"
+ assert MiniTest::Rails::Capybara::VERSION
end
end

0 comments on commit b1078ee

Please sign in to comment.