diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-02 15:08:18 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-02 15:08:18 -0700 |
commit | 61098251ea38421a9ef82d5811c6ceb61818115e (patch) | |
tree | 4ea6a61493fbc1ebe8a9ef966dfa8f59afa22efe /spec/spec_helper.rb | |
parent | a097a500e888f0eaa1700c27f9edb7602fcc8b31 (diff) | |
download | libyajl2-gem-61098251ea38421a9ef82d5811c6ceb61818115e.tar.gz |
fix compiling + add spec framework
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..0f63917 --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,12 @@ +#$: << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib")) + +RSpec.configure do |c| +# c.filter_run_excluding :ruby_gte_19 => true unless RUBY_VERSION.to_f >= 1.9 + + c.order = 'random' + + c.expect_with :rspec do |c| + c.syntax = :expect + end + +end |