Sha256: 4ce2c4c3787f47c54215c7ee939363c251b5992daa79e379bffb057386cbb780

Contents?: true

Size: 421 Bytes

Versions: 77

Compression:

Stored size: 421 Bytes

Contents

require "spec_helper"

describe "Brief Data Wrapper" do
  let(:briefcase) { Brief.testcase }

  it "lets me query the items data" do
    expect(briefcase.data.items.where(status: "inactive").length).to eq(1)
  end

  it "lets me query the items data" do
    expect(briefcase.data.items.where(status: "active").length).to eq(2)
  end

  it "gives me the data" do
    expect(briefcase.data.items.length).to eq(3)
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
brief-1.9.4 spec/lib/brief/data_spec.rb
brief-1.9.3 spec/lib/brief/data_spec.rb
brief-1.9.2 spec/lib/brief/data_spec.rb
brief-1.9.1 spec/lib/brief/data_spec.rb
brief-1.9.0 spec/lib/brief/data_spec.rb
brief-1.8.12 spec/lib/brief/data_spec.rb
brief-1.8.11 spec/lib/brief/data_spec.rb
brief-1.8.10 spec/lib/brief/data_spec.rb
brief-1.8.9 spec/lib/brief/data_spec.rb
brief-1.8.8 spec/lib/brief/data_spec.rb
brief-1.8.6 spec/lib/brief/data_spec.rb
brief-1.8.5 spec/lib/brief/data_spec.rb
brief-1.8.4 spec/lib/brief/data_spec.rb
brief-1.8.3 spec/lib/brief/data_spec.rb
brief-1.8.2 spec/lib/brief/data_spec.rb
brief-1.8.1 spec/lib/brief/data_spec.rb
brief-1.8.0 spec/lib/brief/data_spec.rb