Sha256: e24e2422212c51bf4c1d8f71c6d00dc34c4050acf8dd0ee7b593a2f67d703d2d

Contents?: true

Size: 456 Bytes

Versions: 18

Compression:

Stored size: 456 Bytes

Contents

RSpec.describe Flipper::Export do
  it "can initialize" do
    export = described_class.new(contents: "{}", format: :json, version: 1)
    expect(export.contents).to eq("{}")
    expect(export.format).to eq(:json)
    expect(export.version).to eq(1)
  end

  it "raises not implemented for features" do
    export = described_class.new(contents: "{}", format: :json, version: 1)
    expect { export.features }.to raise_error(NotImplementedError)
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
flipper-1.3.2 spec/flipper/export_spec.rb
flipper-1.3.1 spec/flipper/export_spec.rb
flipper-1.3.0 spec/flipper/export_spec.rb
flipper-1.3.0.pre spec/flipper/export_spec.rb
flipper-1.2.2 spec/flipper/export_spec.rb
flipper-1.2.1 spec/flipper/export_spec.rb
flipper-1.2.0 spec/flipper/export_spec.rb
flipper-1.1.2 spec/flipper/export_spec.rb
flipper-1.1.1 spec/flipper/export_spec.rb
flipper-1.1.0 spec/flipper/export_spec.rb
flipper-1.0.0 spec/flipper/export_spec.rb
flipper-1.0.0.pre spec/flipper/export_spec.rb
flipper-0.28.3 spec/flipper/export_spec.rb
flipper-0.28.2 spec/flipper/export_spec.rb
flipper-0.28.1 spec/flipper/export_spec.rb
flipper-0.28.0 spec/flipper/export_spec.rb
flipper-0.27.1 spec/flipper/export_spec.rb
flipper-0.27.0 spec/flipper/export_spec.rb