Skip to content

Commit

Permalink
Specs now run again.
Browse files Browse the repository at this point in the history
Move to RSpec2.0, add in spec helper stuff, etc.
  • Loading branch information
steveklabnik committed Nov 24, 2010
1 parent f2d0334 commit 71405ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions spec/hackety_spec.rb
@@ -1,3 +1,4 @@
require 'spec_helper'
Dir.glob(File.join(File.dirname(__FILE__), '..', '/factories/*.rb')).each do |factory|
require factory
end
Expand All @@ -6,9 +7,7 @@
include Rack::Test::Methods
def app; Sinatra::Application; end


describe "routes" do
end


end
2 changes: 2 additions & 0 deletions spec/message_spec.rb
@@ -1,3 +1,5 @@
require 'spec_helper'

describe Message do

describe "#send_notification" do
Expand Down
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
@@ -1,5 +1,5 @@
require 'rubygems'
require 'spec'
require 'rspec'
require 'database_cleaner'
require 'sinatra'
require 'rack/test'
Expand All @@ -8,7 +8,7 @@

require 'hackety'

Spec::Runner.configure do |config|
RSpec.configure do |config|
config.mock_with :rspec

config.before(:suite) do
Expand Down

0 comments on commit 71405ba

Please sign in to comment.