Skip to content

Commit a815511

Browse files
author
Sam Goldman
committed
Don't not assume rack/test in callback feature.
Upgrade gems and remove ruby-debug
1 parent 478e877 commit a815511

File tree

3 files changed

+7
-21
lines changed

3 files changed

+7
-21
lines changed

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ source 'http://rubygems.org'
33
gemspec
44

55
gem "rack-test", ">= 0.5.5"
6-
gem 'ruby-debug19', :require => false

Gemfile.lock

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ GEM
1717
i18n (~> 0.6)
1818
multi_json (~> 1.0)
1919
addressable (2.2.7)
20-
archive-tar-minitar (0.5.2)
2120
aruba (0.4.11)
2221
childprocess (>= 0.2.3)
2322
cucumber (>= 1.1.1)
@@ -34,7 +33,6 @@ GEM
3433
childprocess (0.3.1)
3534
ffi (~> 1.0.6)
3635
coderay (1.0.7.rc1)
37-
columnize (0.3.6)
3836
crack (0.3.1)
3937
cucumber (1.1.9)
4038
builder (>= 2.1.2)
@@ -49,8 +47,8 @@ GEM
4947
json (>= 1.4.6)
5048
i18n (0.6.0)
5149
json (1.6.6)
52-
linecache19 (0.5.12)
53-
ruby_core_source (>= 0.1.4)
50+
libwebsocket (0.1.3)
51+
addressable
5452
mime-types (1.18)
5553
multi_json (1.2.0)
5654
mustache (0.99.4)
@@ -66,23 +64,14 @@ GEM
6664
rspec-expectations (~> 2.9.0)
6765
rspec-mocks (~> 2.9.0)
6866
rspec-core (2.9.0)
69-
rspec-expectations (2.9.0)
67+
rspec-expectations (2.9.1)
7068
diff-lcs (~> 1.1.3)
7169
rspec-mocks (2.9.0)
72-
ruby-debug-base19 (0.11.25)
73-
columnize (>= 0.3.1)
74-
linecache19 (>= 0.5.11)
75-
ruby_core_source (>= 0.1.4)
76-
ruby-debug19 (0.11.6)
77-
columnize (>= 0.3.1)
78-
linecache19 (>= 0.5.11)
79-
ruby-debug-base19 (>= 0.11.19)
80-
ruby_core_source (0.1.5)
81-
archive-tar-minitar (>= 0.5.2)
82-
rubyzip (0.9.6.1)
83-
selenium-webdriver (2.20.0)
70+
rubyzip (0.9.7)
71+
selenium-webdriver (2.21.0)
8472
childprocess (>= 0.2.5)
8573
ffi (~> 1.0)
74+
libwebsocket (~> 0.1.3)
8675
multi_json (~> 1.0)
8776
rubyzip
8877
sinatra (1.3.2)
@@ -107,5 +96,4 @@ DEPENDENCIES
10796
rack-test (>= 0.5.5)
10897
rake
10998
rspec_api_documentation!
110-
ruby-debug19
11199
sinatra

features/callbacks.feature

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Feature: Document callbacks
3131
let(:callback_url) { "http://example.net/callback" }
3232
3333
trigger_callback do
34-
post "/interesting_thing"
34+
app.call({})
3535
end
3636
3737
example "Receiving a callback when interesting things happen" do
@@ -40,7 +40,6 @@ Feature: Document callbacks
4040
end
4141
end
4242
"""
43-
4443
When I run `rspec app_spec.rb --require ./app.rb --format RspecApiDocumentation::ApiFormatter`
4544

4645
Scenario: Output helpful progress to the console

0 commit comments

Comments
 (0)