diff --git a/config/navigation.rb b/config/navigation.rb index ea2b26e..957420d 100644 --- a/config/navigation.rb +++ b/config/navigation.rb @@ -69,7 +69,7 @@ SimpleNavigation::Configuration.run do |navigation| my_account.item :sign_out, I18n.t('.shared.topnavigation.sign_out'), destroy_supporter_session_path, link_html: { 'data-method' => :delete } end else - primary.item :home, I18n.t('.shared.topnavigation.sign_in'), new_supporter_session_path + # primary.item :home, I18n.t('.shared.topnavigation.sign_in'), new_supporter_session_path end diff --git a/config/routes.rb b/config/routes.rb index 3512ba3..e02be19 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,10 +11,10 @@ Rails.application.routes.draw do end localized do - resources :greendays + #resources :greendays get '/initiative_text', to: 'pages#show', as: :initiative_text, page: 'initiative_text' get '/terms_and_conditions', to: 'pages#show', as: :terms_and_conditions, page: 'terms_and_conditions' - get '/donation', to: 'pages#show', as: :donation, page: 'donation' + #get '/donation', to: 'pages#show', as: :donation, page: 'donation' end get '/cities_autocomplete', to: 'cities_autocomplete#index', as: :cities_autocomplete diff --git a/spec/requests/greendays_spec.rb b/spec/requests/greendays_spec.rb index 282b151..a2c2fe7 100644 --- a/spec/requests/greendays_spec.rb +++ b/spec/requests/greendays_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -RSpec.describe "Greendays", type: :request do +RSpec.describe "Greendays", pending: true, type: :request do describe "GET /greendays" do it "works! (now write some real specs)" do get greendays_path diff --git a/spec/views/greendays/edit.html.slim_spec.rb b/spec/views/greendays/edit.html.slim_spec.rb index f5dc9d7..feb3a81 100644 --- a/spec/views/greendays/edit.html.slim_spec.rb +++ b/spec/views/greendays/edit.html.slim_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -RSpec.describe "greendays/edit", type: :view do +RSpec.describe "greendays/edit", pending: true, type: :view do before(:each) do @greenday = assign(:greenday, Greenday.create!( :title => "MyString", diff --git a/spec/views/greendays/index.html.slim_spec.rb b/spec/views/greendays/index.html.slim_spec.rb index 75e7e18..9d49c63 100644 --- a/spec/views/greendays/index.html.slim_spec.rb +++ b/spec/views/greendays/index.html.slim_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -RSpec.describe 'greendays/index' do +RSpec.describe 'greendays/index', pending: true do before(:each) do assign(:greendays, [ Greenday.create!( diff --git a/spec/views/greendays/new.html.slim_spec.rb b/spec/views/greendays/new.html.slim_spec.rb index 6c6130e..d6fa7c6 100644 --- a/spec/views/greendays/new.html.slim_spec.rb +++ b/spec/views/greendays/new.html.slim_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -RSpec.describe "greendays/new", type: :view do +RSpec.describe "greendays/new", pending: true, type: :view do before(:each) do assign(:greenday, Greenday.new( :title => "MyString",