Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specs failing? #35

Closed
joevandyk opened this issue Feb 4, 2019 · 0 comments · Fixed by #39
Closed

Specs failing? #35

joevandyk opened this issue Feb 4, 2019 · 0 comments · Fixed by #39
Milestone

Comments

@joevandyk
Copy link

I'm on Ruby 2.5.1, I have these specs failing:

Run options: include {:focus=>true}

All examples were filtered out; ignoring {:focus=>true}

Randomized with seed 33892
................F.FF......F...FFFF.FF...FF.F.F.F.....FFFFFFFF....FFFF.F.F..F........FF.FF.F.......F.FFFFF...F........

Failures:

  1) Zebra::PrintJob raises an error if the printer does not exists
     Failure/Error:
       expect {
         described_class.new("Wrong")
       }.to raise_error(Zebra::PrintJob::UnknownPrinter)

     NameError:
       uninitialized constant Zebra::PrintJob::UnknownPrinter
     # ./spec/zebra/print_job_spec.rb:15:in `block (2 levels) in <top (required)>'

  2) Zebra::PrintJob#print prints the label
     Failure/Error:
       def print(label, ip)
         @remote_ip = ip
         tempfile = label.persist
         send_to_printer tempfile.path
       end

     ArgumentError:
       wrong number of arguments (given 1, expected 2)
     # ./lib/zebra/print_job.rb:17:in `print'
     # ./spec/zebra/print_job_spec.rb:33:in `block (3 levels) in <top (required)>'

  3) Zebra::PrintJob#print creates a cups print job with the correct arguments
     Failure/Error:
       def print(label, ip)
         @remote_ip = ip
         tempfile = label.persist
         send_to_printer tempfile.path
       end

     ArgumentError:
       wrong number of arguments (given 1, expected 2)
     # ./lib/zebra/print_job.rb:17:in `print'
     # ./spec/zebra/print_job_spec.rb:28:in `block (3 levels) in <top (required)>'

  4) Zebra::Zpl::Barcode can be initialized with the barcode type
     Failure/Error: type = Zebra::Zpl::BarcodeType::CODE_128_C

     NameError:
       uninitialized constant Zebra::Zpl::BarcodeType::CODE_128_C
       Did you mean?  Zebra::Zpl::BarcodeType::CODE_128_AUTO
     # ./spec/zebra/zpl/barcode_spec.rb:24:in `block (2 levels) in <top (required)>'

  5) Zebra::Zpl::Barcode#to_zpl contains the barcode type
     Failure/Error: tokens[3].should == Zebra::Zpl::BarcodeType::CODE_128_AUTO

       expected: "C"
            got: "N^FDfoobar^FS" (using ==)
     # ./spec/zebra/zpl/barcode_spec.rb:167:in `block (3 levels) in <top (required)>'

  6) Zebra::Zpl::Barcode#to_zpl contains the correct indication when the human readable code should be printed
     Failure/Error: tokens[7].should == "B"

       expected: "B"
            got: nil (using ==)
     # ./spec/zebra/zpl/barcode_spec.rb:184:in `block (3 levels) in <top (required)>'

  7) Zebra::Zpl::Barcode#to_zpl contains the X position
     Failure/Error: tokens[0].match(/B(\d+)/)[1].should == "100"

     NoMethodError:
       undefined method `[]' for nil:NilClass
     # ./spec/zebra/zpl/barcode_spec.rb:155:in `block (3 levels) in <top (required)>'

  8) Zebra::Zpl::Barcode#to_zpl contains the correct indication when the human readable code should not be printed
     Failure/Error: tokens[7].should == "N"

       expected: "N"
            got: nil (using ==)
     # ./spec/zebra/zpl/barcode_spec.rb:189:in `block (3 levels) in <top (required)>'

  9) Zebra::Zpl::Barcode#to_zpl begins with the command 'B'
     Failure/Error: barcode.to_zpl.should =~ /\AB/

       expected: /\AB/
            got: "^FWN^FO100,150^BY4^BCN,20,N^FDfoobar^FS" (using =~)
       Diff:
       @@ -1,2 +1,2 @@
       -/\AB/
       +"^FWN^FO100,150^BY4^BCN,20,N^FDfoobar^FS"
     # ./spec/zebra/zpl/barcode_spec.rb:151:in `block (3 levels) in <top (required)>'

  10) Zebra::Zpl::Barcode#to_zpl contains the data to be printed in the barcode
      Failure/Error: tokens[8].should == "\"foobar\""

        expected: "\"foobar\""
             got: nil (using ==)
      # ./spec/zebra/zpl/barcode_spec.rb:193:in `block (3 levels) in <top (required)>'

  11) Zebra::Zpl::Barcode#to_zpl contains the barcode wide bar width
      Failure/Error: tokens[5].should == "6"

        expected: "6"
             got: nil (using ==)
      # ./spec/zebra/zpl/barcode_spec.rb:175:in `block (3 levels) in <top (required)>'

  12) Zebra::Zpl::Barcode#to_zpl contains the barcode narrow bar width
      Failure/Error: tokens[4].should == "4"

        expected: "4"
             got: nil (using ==)
      # ./spec/zebra/zpl/barcode_spec.rb:171:in `block (3 levels) in <top (required)>'

  13) Zebra::Zpl::Barcode#to_zpl contains the Y position
      Failure/Error: tokens[1].should == "150"

        expected: "150"
             got: "150^BY4^BCN" (using ==)
      # ./spec/zebra/zpl/barcode_spec.rb:159:in `block (3 levels) in <top (required)>'

  14) Zebra::Zpl::Barcode#to_zpl contains the barcode height
      Failure/Error: tokens[6].should == "20"

        expected: "20"
             got: nil (using ==)
      # ./spec/zebra/zpl/barcode_spec.rb:179:in `block (3 levels) in <top (required)>'

  15) Zebra::Zpl::Barcode#to_zpl contains the barcode rotation
      Failure/Error: tokens[2].should == Zebra::Zpl::Rotation::NO_ROTATION.to_s

        expected: "N"
             got: "20" (using ==)
      # ./spec/zebra/zpl/barcode_spec.rb:163:in `block (3 levels) in <top (required)>'

  16) Zebra::Zpl::Box can be initialized with the end position
      Failure/Error: options.each_pair { |attribute, value| self.__send__ "#{attribute}=", value }

      NoMethodError:
        undefined method `end_position=' for #<Zebra::Zpl::Box:0x00007fd31e036c10>
        Did you mean?  position=
      # ./lib/zebra/zpl/printable.rb:14:in `block in initialize'
      # ./lib/zebra/zpl/printable.rb:14:in `each_pair'
      # ./lib/zebra/zpl/printable.rb:14:in `initialize'
      # ./spec/zebra/zpl/box_spec.rb:13:in `new'
      # ./spec/zebra/zpl/box_spec.rb:13:in `block (2 levels) in <top (required)>'

  17) Zebra::Zpl::Box#to_zpl raises an error if the end X position was not informed
      Failure/Error: options.each_pair { |attribute, value| self.__send__ "#{attribute}=", value }

      NoMethodError:
        undefined method `end_position=' for #<Zebra::Zpl::Box:0x00007fd31e034de8>
        Did you mean?  position=
      # ./lib/zebra/zpl/printable.rb:14:in `block in initialize'
      # ./lib/zebra/zpl/printable.rb:14:in `each_pair'
      # ./lib/zebra/zpl/printable.rb:14:in `initialize'
      # ./spec/zebra/zpl/box_spec.rb:43:in `new'
      # ./spec/zebra/zpl/box_spec.rb:43:in `block (3 levels) in <top (required)>'

  18) Zebra::Zpl::Box#to_zpl raises an error if the X position was not informed
      Failure/Error: options.each_pair { |attribute, value| self.__send__ "#{attribute}=", value }

      NoMethodError:
        undefined method `end_position=' for #<Zebra::Zpl::Box:0x00007fd31e032db8>
        Did you mean?  position=
      # ./lib/zebra/zpl/printable.rb:14:in `block in initialize'
      # ./lib/zebra/zpl/printable.rb:14:in `each_pair'
      # ./lib/zebra/zpl/printable.rb:14:in `initialize'
      # ./spec/zebra/zpl/box_spec.rb:29:in `new'
      # ./spec/zebra/zpl/box_spec.rb:29:in `block (3 levels) in <top (required)>'

  19) Zebra::Zpl::Box#to_zpl raises an error if the end Y position was not informed
      Failure/Error: options.each_pair { |attribute, value| self.__send__ "#{attribute}=", value }

      NoMethodError:
        undefined method `end_position=' for #<Zebra::Zpl::Box:0x00007fd31e030630>
        Did you mean?  position=
      # ./lib/zebra/zpl/printable.rb:14:in `block in initialize'
      # ./lib/zebra/zpl/printable.rb:14:in `each_pair'
      # ./lib/zebra/zpl/printable.rb:14:in `initialize'
      # ./spec/zebra/zpl/box_spec.rb:50:in `new'
      # ./spec/zebra/zpl/box_spec.rb:50:in `block (3 levels) in <top (required)>'

  20) Zebra::Zpl::Box#to_zpl contains the attributes in correct order
      Failure/Error: options.each_pair { |attribute, value| self.__send__ "#{attribute}=", value }

      NoMethodError:
        undefined method `end_position=' for #<Zebra::Zpl::Box:0x00007fd31e00a890>
        Did you mean?  position=
      # ./lib/zebra/zpl/printable.rb:14:in `block in initialize'
      # ./lib/zebra/zpl/printable.rb:14:in `each_pair'
      # ./lib/zebra/zpl/printable.rb:14:in `initialize'
      # ./spec/zebra/zpl/box_spec.rb:25:in `new'
      # ./spec/zebra/zpl/box_spec.rb:25:in `block (3 levels) in <top (required)>'
      # ./spec/zebra/zpl/box_spec.rb:68:in `block (3 levels) in <top (required)>'

  21) Zebra::Zpl::Box#to_zpl raises an error if the Y position was not informed
      Failure/Error: options.each_pair { |attribute, value| self.__send__ "#{attribute}=", value }

      NoMethodError:
        undefined method `end_position=' for #<Zebra::Zpl::Box:0x00007fd31e0083d8>
        Did you mean?  position=
      # ./lib/zebra/zpl/printable.rb:14:in `block in initialize'
      # ./lib/zebra/zpl/printable.rb:14:in `each_pair'
      # ./lib/zebra/zpl/printable.rb:14:in `initialize'
      # ./spec/zebra/zpl/box_spec.rb:36:in `new'
      # ./spec/zebra/zpl/box_spec.rb:36:in `block (3 levels) in <top (required)>'

  22) Zebra::Zpl::Box#to_zpl raises an error if the line thickness was not informed
      Failure/Error: options.each_pair { |attribute, value| self.__send__ "#{attribute}=", value }

      NoMethodError:
        undefined method `end_position=' for #<Zebra::Zpl::Box:0x00007fd31b0ee1d8>
        Did you mean?  position=
      # ./lib/zebra/zpl/printable.rb:14:in `block in initialize'
      # ./lib/zebra/zpl/printable.rb:14:in `each_pair'
      # ./lib/zebra/zpl/printable.rb:14:in `initialize'
      # ./spec/zebra/zpl/box_spec.rb:57:in `new'
      # ./spec/zebra/zpl/box_spec.rb:57:in `block (3 levels) in <top (required)>'

  23) Zebra::Zpl::Box#to_zpl begins with the 'X' command
      Failure/Error: options.each_pair { |attribute, value| self.__send__ "#{attribute}=", value }

      NoMethodError:
        undefined method `end_position=' for #<Zebra::Zpl::Box:0x00007fd31b0dfe08>
        Did you mean?  position=
      # ./lib/zebra/zpl/printable.rb:14:in `block in initialize'
      # ./lib/zebra/zpl/printable.rb:14:in `each_pair'
      # ./lib/zebra/zpl/printable.rb:14:in `initialize'
      # ./spec/zebra/zpl/box_spec.rb:25:in `new'
      # ./spec/zebra/zpl/box_spec.rb:25:in `block (3 levels) in <top (required)>'
      # ./spec/zebra/zpl/box_spec.rb:64:in `block (3 levels) in <top (required)>'

  24) Zebra::Zpl::Qrcode#to_zpl contains the data to be printed in the qrcode
      Failure/Error: tokens[5].should eq "\"foobar\""

        expected: "\"foobar\""
             got: "3^FDMA"

        (compared using ==)
      # ./spec/zebra/zpl/qrcode_spec.rb:98:in `block (3 levels) in <top (required)>'

  25) Zebra::Zpl::Qrcode#to_zpl contains QR code type
      Failure/Error: tokens[2].should eq "Q"

        expected: "Q"
             got: "2"

        (compared using ==)
      # ./spec/zebra/zpl/qrcode_spec.rb:86:in `block (3 levels) in <top (required)>'

  26) Zebra::Zpl::Qrcode#to_zpl begins with the command 'b'
      Failure/Error: qrcode.to_zpl.should =~ /\Ab/

        expected: /\Ab/
             got: "^FWN^FO50,50^BQN,2,3,,3^FDMA,foobar^FS" (using =~)
        Diff:
        @@ -1,2 +1,2 @@
        -/\Ab/
        +"^FWN^FO50,50^BQN,2,3,,3^FDMA,foobar^FS"
      # ./spec/zebra/zpl/qrcode_spec.rb:74:in `block (3 levels) in <top (required)>'

  27) Zebra::Zpl::Qrcode#to_zpl contains the Y position
      Failure/Error: tokens[1].should eq "50"

        expected: "50"
             got: "50^BQN"

        (compared using ==)
      # ./spec/zebra/zpl/qrcode_spec.rb:82:in `block (3 levels) in <top (required)>'

  28) Zebra::Zpl::Qrcode#to_zpl contains the scale factor
      Failure/Error: tokens[3].should eq "s3"

        expected: "s3"
             got: "3"

        (compared using ==)
      # ./spec/zebra/zpl/qrcode_spec.rb:90:in `block (3 levels) in <top (required)>'

  29) Zebra::Zpl::Qrcode#to_zpl contains the X position
      Failure/Error: tokens[0].match(/b(\d+)/)[1].should eq "50"

      NoMethodError:
        undefined method `[]' for nil:NilClass
      # ./spec/zebra/zpl/qrcode_spec.rb:78:in `block (3 levels) in <top (required)>'

  30) Zebra::Zpl::Qrcode#to_zpl contains the error correction level
      Failure/Error: tokens[4].should eq "eM"

        expected: "eM"
             got: ""

        (compared using ==)
      # ./spec/zebra/zpl/qrcode_spec.rb:94:in `block (3 levels) in <top (required)>'

  31) Zebra::Zpl::Text#to_zpl begins width the 'A' command
      Failure/Error: text.to_zpl.should =~ /\AA/

        expected: /\AA/
             got: "^FWN^CF0,28^CI28^FO100,150^FB,4,0,L,0^FDfoobar^FS" (using =~)
        Diff:
        @@ -1,2 +1,2 @@
        -/\AA/
        +"^FWN^CF0,28^CI28^FO100,150^FB,4,0,L,0^FDfoobar^FS"
      # ./spec/zebra/zpl/text_spec.rb:120:in `block (3 levels) in <top (required)>'

  32) Zebra::Zpl::Text#to_zpl assumes 1 as the default horizontal multipler
      Failure/Error: text.to_zpl.split(",")[4].to_i.should == Zebra::Zpl::HorizontalMultiplier::VALUE_1

        expected: 1
             got: 0 (using ==)
      # ./spec/zebra/zpl/text_spec.rb:124:in `block (3 levels) in <top (required)>'

  33) Zebra::Zpl::Text#to_zpl assumes the normal print mode as the default
      Failure/Error: text.to_zpl.split(",")[6].should == Zebra::Zpl::PrintMode::NORMAL

        expected: "N"
             got: "0^FDfoobar^FS" (using ==)
      # ./spec/zebra/zpl/text_spec.rb:132:in `block (3 levels) in <top (required)>'

  34) Zebra::Zpl::Text#to_zpl assumes no rotation by default
      Failure/Error: text.to_zpl.split(",")[2].to_i.should == Zebra::Zpl::Rotation::NO_ROTATION

        expected: "N"
             got: 150 (using ==)
      # ./spec/zebra/zpl/text_spec.rb:136:in `block (3 levels) in <top (required)>'

  35) Zebra::Zpl::Text#to_zpl assumes 1 as the default vertical multiplier
      Failure/Error: text.to_zpl.split(",")[5].to_i.should == Zebra::Zpl::VerticalMultiplier::VALUE_1

        expected: 1
             got: 0 (using ==)
      # ./spec/zebra/zpl/text_spec.rb:128:in `block (3 levels) in <top (required)>'

  36) Zebra::Zpl::Label#persisted? returns true if the `tempfile` attribute is not nil
      Failure/Error: label.instance_variable_set(:@tempfile, stub)

      ArgumentError:
        wrong number of arguments (given 0, expected 1..2)
      # ./spec/zebra/zpl/label_spec.rb:134:in `block (3 levels) in <top (required)>'

  37) Zebra::Zpl::Label#<< adds an item to the list of label elements
      Failure/Error: label << stub

      ArgumentError:
        wrong number of arguments (given 0, expected 1..2)
      # ./spec/zebra/zpl/label_spec.rb:60:in `block (4 levels) in <top (required)>'
      # ./spec/zebra/zpl/label_spec.rb:59:in `block (3 levels) in <top (required)>'

  38) Zebra::Zpl::Label#persist creates a tempfile
      Failure/Error: let(:tempfile) { stub.as_null_object }

      ArgumentError:
        wrong number of arguments (given 0, expected 1..2)
      # ./spec/zebra/zpl/label_spec.rb:103:in `block (3 levels) in <top (required)>'
      # ./spec/zebra/zpl/label_spec.rb:107:in `block (3 levels) in <top (required)>'

  39) Zebra::Zpl::Label#persist sets the `tempfile` attribute
      Failure/Error: let(:tempfile) { stub.as_null_object }

      ArgumentError:
        wrong number of arguments (given 0, expected 1..2)
      # ./spec/zebra/zpl/label_spec.rb:103:in `block (3 levels) in <top (required)>'
      # ./spec/zebra/zpl/label_spec.rb:107:in `block (3 levels) in <top (required)>'

  40) Zebra::Zpl::Label#persist returns the tempfile
      Failure/Error: let(:tempfile) { stub.as_null_object }

      ArgumentError:
        wrong number of arguments (given 0, expected 1..2)
      # ./spec/zebra/zpl/label_spec.rb:103:in `block (3 levels) in <top (required)>'
      # ./spec/zebra/zpl/label_spec.rb:107:in `block (3 levels) in <top (required)>'

  41) Zebra::Zpl::Label#dump_contents dumps its contents to the received IO
      Failure/Error: element.width = self.width

      NoMethodError:
        undefined method `width=' for {:to_zpl=>"foobar"}:Hash
      # ./lib/zebra/zpl/label.rb:39:in `<<'
      # ./spec/zebra/zpl/label_spec.rb:69:in `block (3 levels) in <top (required)>'

  42) Zebra::Zpl::Label#dump_contents does not try to set the length/gap when they were not informed (falls back to autosense)
      Failure/Error: io.should_not =~ /Q/

        expected not: =~ /Q/
                 got:    "^XA^LH0,0^LS10^PR2^PQ1^XZ"
        Diff:
        @@ -1,2 +1,2 @@
        -/Q/
        +"^XA^LH0,0^LS10^PR2^PQ1^XZ"
      # ./spec/zebra/zpl/label_spec.rb:86:in `block (3 levels) in <top (required)>'

3 deprecation warnings total

Finished in 0.0333 seconds (files took 0.1492 seconds to load)
117 examples, 42 failures

Failed examples:

rspec ./spec/zebra/print_job_spec.rb:12 # Zebra::PrintJob raises an error if the printer does not exists
rspec ./spec/zebra/print_job_spec.rb:31 # Zebra::PrintJob#print prints the label
rspec ./spec/zebra/print_job_spec.rb:27 # Zebra::PrintJob#print creates a cups print job with the correct arguments
rspec ./spec/zebra/zpl/barcode_spec.rb:23 # Zebra::Zpl::Barcode can be initialized with the barcode type
rspec ./spec/zebra/zpl/barcode_spec.rb:166 # Zebra::Zpl::Barcode#to_zpl contains the barcode type
rspec ./spec/zebra/zpl/barcode_spec.rb:182 # Zebra::Zpl::Barcode#to_zpl contains the correct indication when the human readable code should be printed
rspec ./spec/zebra/zpl/barcode_spec.rb:154 # Zebra::Zpl::Barcode#to_zpl contains the X position
rspec ./spec/zebra/zpl/barcode_spec.rb:187 # Zebra::Zpl::Barcode#to_zpl contains the correct indication when the human readable code should not be printed
rspec ./spec/zebra/zpl/barcode_spec.rb:150 # Zebra::Zpl::Barcode#to_zpl begins with the command 'B'
rspec ./spec/zebra/zpl/barcode_spec.rb:192 # Zebra::Zpl::Barcode#to_zpl contains the data to be printed in the barcode
rspec ./spec/zebra/zpl/barcode_spec.rb:174 # Zebra::Zpl::Barcode#to_zpl contains the barcode wide bar width
rspec ./spec/zebra/zpl/barcode_spec.rb:170 # Zebra::Zpl::Barcode#to_zpl contains the barcode narrow bar width
rspec ./spec/zebra/zpl/barcode_spec.rb:158 # Zebra::Zpl::Barcode#to_zpl contains the Y position
rspec ./spec/zebra/zpl/barcode_spec.rb:178 # Zebra::Zpl::Barcode#to_zpl contains the barcode height
rspec ./spec/zebra/zpl/barcode_spec.rb:162 # Zebra::Zpl::Barcode#to_zpl contains the barcode rotation
rspec ./spec/zebra/zpl/box_spec.rb:12 # Zebra::Zpl::Box can be initialized with the end position
rspec ./spec/zebra/zpl/box_spec.rb:42 # Zebra::Zpl::Box#to_zpl raises an error if the end X position was not informed
rspec ./spec/zebra/zpl/box_spec.rb:28 # Zebra::Zpl::Box#to_zpl raises an error if the X position was not informed
rspec ./spec/zebra/zpl/box_spec.rb:49 # Zebra::Zpl::Box#to_zpl raises an error if the end Y position was not informed
rspec ./spec/zebra/zpl/box_spec.rb:67 # Zebra::Zpl::Box#to_zpl contains the attributes in correct order
rspec ./spec/zebra/zpl/box_spec.rb:35 # Zebra::Zpl::Box#to_zpl raises an error if the Y position was not informed
rspec ./spec/zebra/zpl/box_spec.rb:56 # Zebra::Zpl::Box#to_zpl raises an error if the line thickness was not informed
rspec ./spec/zebra/zpl/box_spec.rb:63 # Zebra::Zpl::Box#to_zpl begins with the 'X' command
rspec ./spec/zebra/zpl/qrcode_spec.rb:97 # Zebra::Zpl::Qrcode#to_zpl contains the data to be printed in the qrcode
rspec ./spec/zebra/zpl/qrcode_spec.rb:85 # Zebra::Zpl::Qrcode#to_zpl contains QR code type
rspec ./spec/zebra/zpl/qrcode_spec.rb:73 # Zebra::Zpl::Qrcode#to_zpl begins with the command 'b'
rspec ./spec/zebra/zpl/qrcode_spec.rb:81 # Zebra::Zpl::Qrcode#to_zpl contains the Y position
rspec ./spec/zebra/zpl/qrcode_spec.rb:89 # Zebra::Zpl::Qrcode#to_zpl contains the scale factor
rspec ./spec/zebra/zpl/qrcode_spec.rb:77 # Zebra::Zpl::Qrcode#to_zpl contains the X position
rspec ./spec/zebra/zpl/qrcode_spec.rb:93 # Zebra::Zpl::Qrcode#to_zpl contains the error correction level
rspec ./spec/zebra/zpl/text_spec.rb:119 # Zebra::Zpl::Text#to_zpl begins width the 'A' command
rspec ./spec/zebra/zpl/text_spec.rb:123 # Zebra::Zpl::Text#to_zpl assumes 1 as the default horizontal multipler
rspec ./spec/zebra/zpl/text_spec.rb:131 # Zebra::Zpl::Text#to_zpl assumes the normal print mode as the default
rspec ./spec/zebra/zpl/text_spec.rb:135 # Zebra::Zpl::Text#to_zpl assumes no rotation by default
rspec ./spec/zebra/zpl/text_spec.rb:127 # Zebra::Zpl::Text#to_zpl assumes 1 as the default vertical multiplier
rspec ./spec/zebra/zpl/label_spec.rb:132 # Zebra::Zpl::Label#persisted? returns true if the `tempfile` attribute is not nil
rspec ./spec/zebra/zpl/label_spec.rb:58 # Zebra::Zpl::Label#<< adds an item to the list of label elements
rspec ./spec/zebra/zpl/label_spec.rb:111 # Zebra::Zpl::Label#persist creates a tempfile
rspec ./spec/zebra/zpl/label_spec.rb:120 # Zebra::Zpl::Label#persist sets the `tempfile` attribute
rspec ./spec/zebra/zpl/label_spec.rb:116 # Zebra::Zpl::Label#persist returns the tempfile
rspec ./spec/zebra/zpl/label_spec.rb:68 # Zebra::Zpl::Label#dump_contents dumps its contents to the received IO
rspec ./spec/zebra/zpl/label_spec.rb:84 # Zebra::Zpl::Label#dump_contents does not try to set the length/gap when they were not informed (falls back to autosense)

Randomized with seed 33892
@mtking2 mtking2 added this to the Version 1.1.0 milestone Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants