Sha256: 0397389ed867d548c468cda39f66e4836b36b1c222d92fa1b7cf396d833506d8

Contents?: true

Size: 538 Bytes

Versions: 3

Compression:

Stored size: 538 Bytes

Contents

  {{feature_or_describe}} "CAPTURE: {{capture_name}}", captured: true do
    let(:capture) { JSON.parse(IO.read(Rails.root.join({{capture_path_str}}))) }
    let(:{{model_name_plural}}) { {{model_name}}.where(id: {{record_ids}}) }

    before :each do
      Softwear::Library::SpecDump.expand_spec_dump(capture)
    end

    {{scenario_or_specify}} {{spec_desc_str}} do
      visit edit_{{model_name_singular}}_path({{model_name_singular}})

      # TODO fill in generated spec!
      byebug
      expect(false).to eq true
    end
  end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
softwear-lib-3.3.7 lib/softwear/templates/captured_spec.rb.liquid
softwear-lib-3.3.6 lib/softwear/templates/captured_spec.rb.liquid
softwear-lib-3.3.5 lib/softwear/templates/captured_spec.rb.liquid