Skip to content

Commit

Permalink
README: filter particular specs
Browse files Browse the repository at this point in the history
  • Loading branch information
kares committed Apr 26, 2012
1 parent 449aa27 commit f06489b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Expand Up @@ -41,6 +41,22 @@ describe MyJS::Context do
end
```

### Filter particular specs

In case you need to conform with specs defined in a higher version number but
can't pass specs from a previous version, you might (temporarily) exclude 'em :

```ruby
# Gemfile :
gem 'redjs', :branch => "0.6",
:git => 'git://github.com/cowboyd/redjs.git'

# spec_helper.rb :
RSpec.configure do |config|
config.filter_run_excluding :compat => /(0.4.4)|(0.5.0)/
end
```

## API Requirements

### RedJS::Context
Expand Down

0 comments on commit f06489b

Please sign in to comment.