Permalink
Browse files

Replaced MiniTest with RSpec

  • Loading branch information...
1 parent 5ee493c commit 4d82f2daf5595866ab590d8817621b682d617235 @fredwu committed Jun 11, 2012
Showing with 5 additions and 6 deletions.
  1. +1 −0 .rspec
  2. +1 −1 bustle.gemspec
  3. +2 −2 specs/bustle_spec.rb
  4. +1 −3 specs/spec_helper.rb
View
1 .rspec
@@ -0,0 +1 @@
+--colour
View
2 bustle.gemspec
@@ -19,5 +19,5 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'rake'
gem.add_development_dependency 'simplecov'
- gem.add_development_dependency 'minitest-colorize'
+ gem.add_development_dependency 'rspec'
end
View
4 specs/bustle_spec.rb
@@ -1,11 +1,11 @@
require_relative 'spec_helper'
describe Bustle do
- describe "configuration" do
+ context "configuration" do
[:intepreter, :storage].each do |option|
it "sets the config option #{option}" do
Bustle.config { |c| c.send "#{option}=", 'dummy' }
- Bustle.send(option).must_equal 'dummy'
+ Bustle.send(option).should == 'dummy'
end
end
end
View
4 specs/spec_helper.rb
@@ -1,8 +1,6 @@
require 'simplecov'
SimpleCov.start
-require 'minitest-colorize'
-require 'minitest/autorun'
-require 'minitest/spec'
+require 'rspec/autorun'
require File.expand_path('../../lib/bustle', __FILE__)

0 comments on commit 4d82f2d

Please sign in to comment.