Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Replaced MiniTest with RSpec

  • Loading branch information...
commit 4d82f2daf5595866ab590d8817621b682d617235 1 parent 5ee493c
@fredwu authored
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__)
Please sign in to comment.
Something went wrong with that request. Please try again.