Permalink
Browse files

add shared examples

  • Loading branch information...
1 parent b0ca3fd commit 728966072215333fb2256d268f9670cbd4e7e0f3 @rkh committed Jun 6, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/sinatra/sugar_spec.rb
  2. +1 −1 spec/spec_helper.rb
@@ -1,8 +1,8 @@
require File.expand_path(__FILE__ + "/../../spec_helper.rb")
describe Sinatra::Sugar do
-
before { app :Sugar }
+ it_should_behave_like 'sinatra'
describe "set" do
View
@@ -1,2 +1,2 @@
-require "sinatra/rspec"
+require "sinatra/rspec/shared"
require "sinatra/sugar"

0 comments on commit 7289660

Please sign in to comment.