Sha256: 1889a283778dd4b902ceb0f47f18ce1a86a42718ff2e16938df6a4df0defa785

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

require 'spec_helper'

include Rack::Test::Methods

describe Gurk do

  describe '#run' do

    before do
      Gurk.stub(:feature_paths).and_return  Dir.glob("#{Dir.pwd}/spec/support/*.feature")
      Gurk.run
    end

    it 'creates routes from the array' do
      expect(Gurk.router.routes.length).to_not be_zero
    end

  end

end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gurk-0.0.1 spec/gurk/gurk_spec.rb