Sha256: 7095298de9d41b31a8d17762d3bb1be2ca405d76803e6eec32e78c3f37adc199

Contents?: true

Size: 644 Bytes

Versions: 2

Compression:

Stored size: 644 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "TaskMapper::Provider::Bugzilla" do
  
  before(:each) do 
    VCR.use_cassette('tm-authentication') { @taskmapper = TaskMapper.new(:bugzilla, {:username => 'george.rafael@gmail.com', :password => '123456', :url => 'https://landfill.bugzilla.org/bugzilla-3.6-branch'}) }
  end

  it "should be able to instantiate a new instance" do
    @taskmapper.should be_an_instance_of(TaskMapper)
    @taskmapper.should be_a_kind_of(TaskMapper::Provider::Bugzilla)
  end

  it "should be able to validate it's authentication" do 
    @taskmapper.valid?.should be_true
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
taskmapper-bugzilla-0.4.0 spec/taskmapper-bugzilla_spec.rb
taskmapper-bugzilla-0.3.0 spec/taskmapper-bugzilla_spec.rb