specs in the green
This commit is contained in:
@@ -16,7 +16,7 @@ require File.expand_path('./../../lib/couchbase-setting', __FILE__)
|
||||
if defined?(Bundler)
|
||||
# If you precompile assets before deploying to production, use this line
|
||||
Bundler.require(*Rails.groups(assets: %w(development test)))
|
||||
Bundler.require(:assets) if ENV['QWAITER_MOBILE_EXPORT']='yes'
|
||||
Bundler.require(:assets) if ENV['QWAITER_MOBILE_EXPORT']=='yes'
|
||||
# If you want your assets lazily compiled in production, use this line
|
||||
# Bundler.require(:default, :assets, Rails.env)
|
||||
end
|
||||
|
||||
@@ -24,6 +24,7 @@ describe Supplier do
|
||||
Qwaiter::Counter.set "supplier_counter:#{supplier.id}:orders_placed", 9
|
||||
supplier.orders_placed_count.should == 9
|
||||
Supplier.reset_counters!
|
||||
sleep 0.5
|
||||
supplier.orders_placed_count.should == 0
|
||||
Qwaiter::Counter.connection = old_connection
|
||||
end
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require "spec_helper"
|
||||
|
||||
describe "routing" do
|
||||
describe "routing", type: :routing do
|
||||
it('roots to pages#home'){get('/').should route_to('pages#home', locale: 'nl')}
|
||||
it('roots to pages#home for en locale'){get('/en').should route_to('pages#home', locale: 'en')}
|
||||
it('handles about page as root'){ get('/about').should route_to('pages#show', name: 'about', locale: 'nl')}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require "spec_helper"
|
||||
|
||||
describe SupplierController do
|
||||
describe SupplierController, type: :routing do
|
||||
describe "routing" do
|
||||
|
||||
it "routes root to #home" do
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require "spec_helper"
|
||||
|
||||
describe UserController do
|
||||
describe UserController, type: :routing do
|
||||
describe "routing" do
|
||||
|
||||
it "routes root to #index" do
|
||||
|
||||
@@ -43,10 +43,13 @@ Release
|
||||
General:
|
||||
- search for class btn and replace with font awesome correct styling if
|
||||
needed
|
||||
- theme1 site alert styling (zurb?)
|
||||
- devise styling
|
||||
Bugs:
|
||||
- Dragging supplier table from one section to the other fails
|
||||
- Supplier section print qr codes does not give proper images
|
||||
- Supplier tables pagination styling
|
||||
- supplier counters in user view (no supplier in active list?)
|
||||
|
||||
Post release
|
||||
------------
|
||||
|
||||
Reference in New Issue
Block a user