Sha256: 978d799c9fb0fc9dc94698959b424863a8f1dcc057143190a21d736b792b6fae

Contents?: true

Size: 605 Bytes

Versions: 2

Compression:

Stored size: 605 Bytes

Contents

require 'spec_helper'
require_relative "../../../lib/snapdragon/spec_file"

describe Snapdragon::SpecFile do
  describe "#initialize" do
    it "assigns the given path" do
      spec_file = Snapdragon::SpecFile.new('some/path/to_some_spec.js')
      expect(spec_file.instance_variable_get(:@path)).to eq('some/path/to_some_spec.js')
    end
  end

  describe "#read" do
    it "needs to be tested"
  end

  describe "#require_paths" do
    it "needs to be tested"
  end

  describe "#filtered?" do
    it "needs to be tested"
  end

  describe "#spec_query_param" do
    it "needs to be tested"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
snapdragon-3.0.0 spec/lib/snapdragon/spec_file_spec.rb
snapdragon-2.0.0 spec/lib/snapdragon/spec_file_spec.rb