Sha256: ddfafe5a331c46ee7d80a3b4e619933cf95c5a02076999b8d38127a3de4d6308

Contents?: true

Size: 381 Bytes

Versions: 6

Compression:

Stored size: 381 Bytes

Contents

require 'spec_helper'

describe EasyTransilien::Line do
  before(:each) do
    @line = EasyTransilien::Line.find('laz').first
  end

  it 'should get some Line when searching for laz' do
    @line.is_a?(EasyTransilien::Line).should be_true
  end

  it 'should have at least one codes' do
    @line.codes.is_a?(Array).should be_true
    @line.codes.empty?.should be_false
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
easy_transilien-0.0.9 spec/line_spec.rb
easy_transilien-0.0.8 spec/line_spec.rb
easy_transilien-0.0.7 spec/line_spec.rb
easy_transilien-0.0.5 spec/line_spec.rb
easy_transilien-0.0.4 spec/line_spec.rb
easy_transilien-0.0.2 spec/line_spec.rb