Sha256: d6c329c64b1c4a902ae9db01a3bd29228018bd5a050e247f3629471279524a00

Contents?: true

Size: 624 Bytes

Versions: 3

Compression:

Stored size: 624 Bytes

Contents

require "helper"

module Some
  module Crazy
    module Nested
      class RandomClass
      end
    end
  end
end

MinitestVcr::Spec.configure!

describe Some::Crazy::Nested::RandomClass, :vcr do
  before do
    conn = Faraday.new
    @response = conn.get "http://example.com"
  end

  it "top level example" do
    VCR.current_cassette.name.must_equal "Some::Crazy::Nested::RandomClass/top level example"
  end

  describe "nested describe" do
    it "example in nested describe" do
      VCR.current_cassette.name.must_equal "Some::Crazy::Nested::RandomClass/nested describe/example in nested describe"
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minitest-vcr-1.4.0 test/minitest-vcr/deeply_namespaced_class_as_description_test.rb
minitest-vcr-1.3.0 test/minitest-vcr/deeply_namespaced_class_as_description_test.rb
minitest-vcr-1.2.2 test/minitest-vcr/deeply_namespaced_class_as_description_test.rb