Sha256: 2feaec4ed1bb0a07912093197f3121ae65cbec8236cb21e8756bc76c5367c0fb
Contents?: true
Size: 980 Bytes
Versions: 19
Compression:
Stored size: 980 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "AmazonSellerCentral" do before :each do @email = Faker::Internet.email @password = Faker::Lorem.words end it "allows configuration" do AmazonSellerCentral.configure do |config| config.login_email @email config.login_password @password end AmazonSellerCentral.configuration.login_email.should == @email AmazonSellerCentral.configuration.login_password.should == @password end it "allows configuration in another format" do AmazonSellerCentral.configure do |config| config.login_email = @email config.login_password = @password end AmazonSellerCentral.configuration.login_email.should == @email AmazonSellerCentral.configuration.login_password.should == @password end it "allows access to a mechanizer" do mech = AmazonSellerCentral.mechanizer mech.should be_instance_of(AmazonSellerCentral::Mechanizer) end end
Version data entries
19 entries across 19 versions & 1 rubygems