Skip to content

Commit fb2ad89

Browse files
committed
Move puffing billy cache to http_cache/frontend
1 parent c0f9aca commit fb2ad89

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Puffing Billy configuration how-to and examples:
171171
- [spec/support/puffing_billy.rb](spec/support/puffing_billy.rb)
172172
- [spec/features/share_page_spec.rb](spec/features/share_page_spec.rb)
173173
- [Cache options](https://github.com/oesmith/puffing-billy#caching)
174-
- [Cached responses in spec/support/http_cache/billy](spec/support/http_cache/billy)
174+
- [Cached responses in spec/support/http_cache/frontend](spec/support/http_cache/frontend)
175175

176176

177177
# Shoulda-Matchers Examples

spec/support/puffing_billy.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
#
55
# 1. Puffing Billy depends on Capybara. Install Capybara as explained
66
# in spec/support/capybara.rb
7-
#
7+
#
88
# 2. Add puffing-billy to Gemfile:
99
#
1010
# group :development, :test do
1111
# gem 'puffing-billy'
1212
# end
13-
#
13+
#
1414
# 3. Create a file like this one you're reading in spec/support/puffing_billy.rb:
1515
require 'billy/rspec'
1616

@@ -24,7 +24,7 @@
2424
c.non_successful_error_level = :warn
2525

2626
# cache_path is where responses from external URLs will be saved as YAML.
27-
c.cache_path = "spec/support/http_cache/billy/"
27+
c.cache_path = "spec/support/http_cache/frontend/"
2828

2929
# Avoid having tests dependent on external URLs.
3030
#
@@ -42,11 +42,10 @@
4242
# Capybara.javascript_driver = :poltergeist_billy
4343

4444
# 6. Start using Puffing Billy. See spec/features/share_page_spec.rb for an example,
45-
# and find your cached responses in spec/support/http_cache/billy
45+
# and find your cached responses in spec/support/http_cache/frontend
4646

4747
# Suggested docs
4848
# --------------
4949
# https://github.com/oesmith/puffing-billy
5050
# https://github.com/oesmith/puffing-billy#rspec-usage
5151
# https://github.com/oesmith/puffing-billy#caching
52-

0 commit comments

Comments
 (0)