Skip to content

Commit

Permalink
at least make sure there is no syntax error == testing
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Jun 15, 2012
1 parent 4f23818 commit 0abd77d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 17 deletions.
8 changes: 5 additions & 3 deletions Rakefile
@@ -1,12 +1,14 @@

begin
require 'bones'
rescue LoadError
abort '### Please install the "bones" gem ###'
end

task :default => 'test:run'
task 'gem:release' => 'test:run'
task :default do
sh "rspec spec"
end

task 'gem:release' => :default

Bones {
name 'greenletters'
Expand Down
1 change: 0 additions & 1 deletion spec/greenletters_spec.rb
@@ -1,4 +1,3 @@

require File.join(File.dirname(__FILE__), %w[spec_helper])

describe Greenletters do
Expand Down
15 changes: 2 additions & 13 deletions spec/spec_helper.rb
@@ -1,15 +1,4 @@
require File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib greenletters]))

require File.expand_path(
File.join(File.dirname(__FILE__), %w[.. lib greenletters]))

Spec::Runner.configure do |config|
# == Mock Framework
#
# RSpec uses it's own mocking framework by default. If you prefer to
# use mocha, flexmock or RR, uncomment the appropriate line:
#
# config.mock_with :mocha
# config.mock_with :flexmock
# config.mock_with :rr
RSpec.configure do |config|
end

Empty file removed test/test_greenletters.rb
Empty file.

0 comments on commit 0abd77d

Please sign in to comment.