Sha256: c8a8e472b44fe10f0a0feb1d5efacbc37979d07b7132e05982ca03582f63923e

Contents?: true

Size: 966 Bytes

Versions: 18

Compression:

Stored size: 966 Bytes

Contents

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

include PreferenceFactory

describe "/admin/configurations" do


  before(:each) do
    assigns[:extension_links] = []
    render 'admin/configurations/index'
  end
  
  it "should display a Mail Server Settings link" do
    response.should have_tag('a[href=?]', admin_mail_settings_path)
  end

  it "should display a Tax Categories link" do
    response.should have_tag('a[href=?]', admin_tax_categories_path)
  end

  it "should display a Zones link" do
    response.should have_tag('a[href=?]', admin_zones_path)
  end

  it "should display a States link" do
    response.should have_tag('a[href=?]', admin_country_states_path(214))
  end

  it "should display a Gateway link" do
    response.should have_tag('a[href=?]', admin_gateways_path)
  end

  it "should display an Inventory Settings link" do
    response.should have_tag('a[href=?]', admin_inventory_settings_path)
  end

end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 spec/views/admin/configurations/index.html.erb_spec.rb
spree-enriquez-0.9.4 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.9.4 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.9.3 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.9.2 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.9.1 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.9.0 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.8.4 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.8.5 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.5.0 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.6.0 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.5.1 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.7.0 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.7.1 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.8.0 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.8.1 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.8.2 spec/views/admin/configurations/index.html.erb_spec.rb
spree-0.8.3 spec/views/admin/configurations/index.html.erb_spec.rb