Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

This makes a small improvement to specs (allowing focus on a specific spec or context). It also removes a defunct file from the repo. #87

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion spec/spec.opts

This file was deleted.

4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ def is_stale?


RSpec.configure do |config|
# Allow focus on a specific test if specified
config.filter_run :focus => true
config.run_all_when_everything_filtered = true

# Give StaleFish temporary file which is ignored by git
org_stale_fish_config = File.join(File.dirname(__FILE__), 'fixtures', 'stale_fish.yml')
tmp_stale_fish_config = File.join(File.dirname(__FILE__), 'fixtures', 'stale_fish-tmp.yml')
Expand Down