Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

rspec setup with test/unit assertions #1

Merged
merged 1 commit into from Dec 29, 2011
Jump to file or symbol
Failed to load files and symbols.
+24 −0
Split
View
@@ -0,0 +1,13 @@
+require "spec_helper"
+
+describe Tasks do
+ test "detect_indent" do
+ pending "no clue how to test this"
+ end
+
+ describe Tasks::Project do
+ test ".parse" do
+ assert_equal true, Tasks::Project.parse([], [], 2)
+ end
+ end
+end
View
@@ -0,0 +1,11 @@
+$:.unshift "lib"
+require "tasks"
+require "rspec"
+
+RSpec.configure do |config|
+ config.expect_with :stdlib
+ config.alias_example_to :test
+
+ config.before(:all) do
+ end
+end