Sha256: 4340823ce58159f28dc531d00e0d1ecface9b3d63fbbe59198a9e3d222e65d80
Contents?: true
Size: 990 Bytes
Versions: 3
Compression:
Stored size: 990 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 singleton mechanizer" do mech = AmazonSellerCentral.mechanizer mech.should be_instance_of(AmazonSellerCentral::Mechanizer) end end
Version data entries
3 entries across 3 versions & 1 rubygems