require 'spec_helper'
require 'json_expressions'
require 'json_expressions/rspec'

describe RSpec do
  it "includes JsonExpressions::RSpec::Matchers" do
    # TODO actually verify this.
    # For now this spec verifies the spec helper file loads without errors
    true.should be_true
  end
end
require 'spec_helper'
require 'json_expressions'
require 'json_expressions/rspec'

describe RSpec do
  it "includes JsonExpressions::RSpec::Matchers" do
    modules = ::RSpec.configuration.include_or_extend_modules
    modules.select! { |(mode,mod,_)| mode == :include }
    modules.map! { |(mode,mod,_)| mod }
    modules.should include(::JsonExpressions::RSpec::Matchers)
  end
end
Verify rspec matcher is correctly included.
Verify rspec matcher is correctly included.
