Sha256: 46cfd4ec53963e92c76e530b87a412cdcc2ced083df04602ebe9c8519dcf7cb9

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

require "spec_helper"

RSpec.describe "suspenders:json" do
  it "generates the Gemfile for JSON parsing" do
    with_app { generate("suspenders:json") }

    expect("Gemfile").to match_contents(%r{gem .oj.})
  end

  it "cleans up the Gemfile from JSON parsing" do
    with_app { destroy("suspenders:json") }

    expect("Gemfile").not_to match_contents(%r{gem .oj.})
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
suspenders-1.50.0 spec/features/json_spec.rb