Sha256: 531518b37fd531d6301a1d2219814d4366607e04e5f9a16a7117c283bb932466

Contents?: true

Size: 379 Bytes

Versions: 5

Compression:

Stored size: 379 Bytes

Contents

require 'spec_helper'
require 'tempfile'

describe AllureRSpec do
  it "should build" do
    attach_file "test-file1", Tempfile.new("test")
    step "step1" do
      attach_file "test-file2", Tempfile.new("test")
    end

    step "step2" do
      attach_file "logo", File.new("logo.png")
      5.should be > 1
    end

    step "step3" do

      0.should == 1
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
allure-rspec-0.3.4 spec/extend_steps_spec.rb
allure-rspec-0.3.3 spec/extend_steps_spec.rb
allure-rspec-0.3.2 spec/extend_steps_spec.rb
allure-rspec-0.3.1 spec/extend_steps_spec.rb
allure-rspec-0.3 spec/extend_steps_spec.rb