smarter_listing 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd24bc9bc796f046904f1611f7bcb090b4c06ca0
4
- data.tar.gz: e3e73bdbc88fa4fe28406930491a7a5255bb9256
3
+ metadata.gz: b1f38124bbefc6794e5465bf64aa3ce82b428ad9
4
+ data.tar.gz: 4a9b2ceecb2a0ecebd54331188ed747515bbda0d
5
5
  SHA512:
6
- metadata.gz: 2e81c5ec06235eac0af3f142e80e99273bdec944a3a099125f6f1fdde9d4b9110214000aa7c6e56e658b9769956e8d36e734472d6de8638c10a2c852b3f2b333
7
- data.tar.gz: 1b5a260e60344e7c9304ea5c9a3c60296c78c339b976d271f47100b64cc751bd4fecbb626c95cf09250966c8cbfb2d002f79e89a0965f862407e25d9b70b5c11
6
+ metadata.gz: d917bec95b11ba23118736dec2f7ade6ae447ee36540760263b784ac7d463bf5dc51df2abff805aff7df594535d60b605f476d4bd1aff5f1d40d2641afa7d23b
7
+ data.tar.gz: 68dbf91e8f0b08711e95226111629ebd66e51b6249c415153678cde41c342cbb455b20471898066f9d9674f25bfa09f529732f96077aaf1dfdfffa404388c898
@@ -1,7 +1,25 @@
1
1
  require 'smarter_listing/engine'
2
- require 'smarter_listing/loader'
2
+ require 'smart_listing'
3
+ require 'kaminari'
3
4
 
4
5
  module SmarterListing
5
6
  autoload :Helper, 'smarter_listing/helper'
6
7
  autoload :ControllerExtension, 'smarter_listing/controller_extension'
8
+
9
+ module Loader
10
+ def self.extended base
11
+ def smarter_listing(filter_parameter = :filter)
12
+ helper SmartListing::Helper
13
+ include SmartListing::Helper::ControllerExtensions
14
+
15
+ helper SmarterListing::Helper
16
+ include SmarterListing::ControllerExtension
17
+
18
+ instance_variable_set :@filter_parameter, filter_parameter
19
+ prepend Loader
20
+ end
21
+ end
22
+ end
7
23
  end
24
+
25
+ ActionController::Base.extend SmarterListing::Loader
@@ -3,53 +3,51 @@ module SmarterListing::ControllerExtension
3
3
  def self.included base
4
4
  base.helper_method :collection, :resource
5
5
  base.include SmarterListing::Helper
6
- base.class_eval do
7
- # Actions
8
- define_method :index do
9
- collection
10
- respond_to do |format|
11
- format.html { render layout: self.class._layout }
12
- format.js { render action: 'index.js.erb' }
13
- end
14
- end
15
-
16
- define_method :new do
17
- instance_variable_get(resource_ivar) || instance_variable_set(resource_ivar, model.new(resource_params))
18
- render 'smarter_listing/new'
19
- end
20
-
21
- define_method :create do
22
- instance_variable_get(resource_ivar) || instance_variable_set(resource_ivar, model.create(resource_params))
23
- render 'smarter_listing/create'
24
- end
25
-
26
- define_method :copy do
27
- instance_variable_set resource_ivar, resource.dup
28
- render 'smarter_listing/copy'
29
- end
30
-
31
- define_method :show do
32
- resource
33
- render resource, object: resource
34
- end
35
-
36
- define_method :edit do
37
- resource
38
- render 'smarter_listing/edit'
39
- end
40
-
41
- define_method :update do
42
- resource.update resource_params
43
- render 'smarter_listing/update'
44
- end
45
-
46
- define_method :destroy do
47
- resource.destroy
48
- render 'smarter_listing/destroy'
49
- end
6
+ end
7
+
8
+ def index
9
+ collection
10
+ respond_to do |format|
11
+ format.html { render layout: self.class._layout }
12
+ format.js { render action: 'index.js.erb' }
50
13
  end
51
14
  end
52
15
 
16
+ def new
17
+ instance_variable_get(resource_ivar) || instance_variable_set(resource_ivar, model.new(resource_params))
18
+ render 'smarter_listing/new'
19
+ end
20
+
21
+ def create
22
+ instance_variable_get(resource_ivar) || instance_variable_set(resource_ivar, model.create(resource_params))
23
+ render 'smarter_listing/create'
24
+ end
25
+
26
+ def copy
27
+ instance_variable_set resource_ivar, resource.dup
28
+ render 'smarter_listing/copy'
29
+ end
30
+
31
+ def show
32
+ resource
33
+ render resource, object: resource
34
+ end
35
+
36
+ def edit
37
+ resource
38
+ render 'smarter_listing/edit'
39
+ end
40
+
41
+ def update
42
+ resource.update resource_params
43
+ render 'smarter_listing/update'
44
+ end
45
+
46
+ def destroy
47
+ resource.destroy
48
+ render 'smarter_listing/destroy'
49
+ end
50
+
53
51
  def filter_parameter
54
52
  self.class.instance_variable_get :@filter_parameter
55
53
  end
@@ -29,15 +29,17 @@ module SmarterListing
29
29
  end
30
30
 
31
31
  def current_engine
32
- self.class.parent == Object ? '' : self.class.parent.to_s.underscore
32
+ object = instance_variables.include?(:@_controller) ? @_controller : self
33
+ object.class.parent == Object ? '' : object.class.parent.to_s.underscore
33
34
  end
34
35
 
35
36
  def model
37
+ object = instance_variables.include?(:@_controller) ? @_controller : self
36
38
  @model = nil
37
39
  @model ||= begin
38
40
  # First priority is the namespaced model, e.g. User::Group
39
41
  resource_class ||= begin
40
- namespaced_class = self.name.sub(/Controller/, '').singularize
42
+ namespaced_class = object.name.sub(/Controller/, '').singularize
41
43
  namespaced_class.constantize
42
44
  rescue NameError
43
45
  nil
@@ -45,7 +47,7 @@ module SmarterListing
45
47
 
46
48
  # Second priority is the top namespace model, e.g. EngineName::Article for EngineName::Admin::ArticlesController
47
49
  resource_class ||= begin
48
- namespaced_classes = self.name.sub(/Controller/, '').split('::')
50
+ namespaced_classes = object.name.sub(/Controller/, '').split('::')
49
51
  namespaced_class = [namespaced_classes.first, namespaced_classes.last].join('::').singularize
50
52
  namespaced_class.constantize
51
53
  rescue NameError
@@ -54,7 +56,7 @@ module SmarterListing
54
56
 
55
57
  # Third priority the camelcased c, i.e. UserGroup
56
58
  resource_class ||= begin
57
- camelcased_class = self.name.sub(/Controller/, '').gsub('::', '').singularize
59
+ camelcased_class = object.name.sub(/Controller/, '').gsub('::', '').singularize
58
60
  camelcased_class.constantize
59
61
  rescue NameError
60
62
  nil
@@ -62,7 +64,7 @@ module SmarterListing
62
64
 
63
65
  # Otherwise use the Group class, or fail
64
66
  resource_class ||= begin
65
- class_name = self.controller_name.classify
67
+ class_name = object.controller_name.classify
66
68
  class_name.constantize
67
69
  rescue NameError => e
68
70
  raise unless e.message.include?(class_name)
@@ -1,3 +1,3 @@
1
1
  module SmarterListing
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
@@ -1,5 +1,10 @@
1
1
  class ListingsController < ApplicationController
2
2
 
3
+ def edit
4
+ resource
5
+ super
6
+ end
7
+
3
8
  private
4
9
  def resource_params
5
10
  params.require(:listing).permit(:name, :content) if params[:listing]
Binary file
@@ -34532,3 +34532,3872 @@ Unpermitted parameters: deleted_at
34532
34532
  Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.1ms)
34533
34533
  Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.2ms)
34534
34534
   (0.1ms) rollback transaction
34535
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
34536
+  (0.1ms) begin transaction
34537
+ ---------------------------------------------------------------
34538
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
34539
+ ---------------------------------------------------------------
34540
+  (0.0ms) rollback transaction
34541
+  (0.0ms) begin transaction
34542
+ ------------------------------------------------------
34543
+ SmarterListingLoaderTest: test_helper_methods_included
34544
+ ------------------------------------------------------
34545
+  (0.1ms) rollback transaction
34546
+  (0.1ms) begin transaction
34547
+ ---------------------------------------------------------
34548
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
34549
+ ---------------------------------------------------------
34550
+  (0.1ms) rollback transaction
34551
+  (0.0ms) begin transaction
34552
+ --------------------------------------------------------
34553
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
34554
+ --------------------------------------------------------
34555
+  (0.0ms) rollback transaction
34556
+  (0.0ms) begin transaction
34557
+ -----------------------------------------------------------
34558
+ SmarterListingLoaderTest: test_the_default_filter_parameter
34559
+ -----------------------------------------------------------
34560
+  (0.1ms) rollback transaction
34561
+  (0.1ms) begin transaction
34562
+ Fixture Delete (0.2ms) DELETE FROM "listings"
34563
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 08:51:59', '2014-09-12 08:51:59', 980190962)
34564
+  (19.9ms) commit transaction
34565
+  (0.0ms) begin transaction
34566
+ -------------------------------------------
34567
+ ListingsControllerTest: test_correct_layout
34568
+ -------------------------------------------
34569
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34570
+ Processing by ListingsController#index as HTML
34571
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34572
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.8ms)
34573
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
34574
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
34575
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.5ms)
34576
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
34577
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.6ms)
34578
+ Rendered listings/_listing.html.erb (4.9ms)
34579
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (1.0ms)
34580
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34581
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.6ms)
34582
+ Rendered listings/_table_header.html.erb (15.5ms)
34583
+ Rendered listings/index.html.erb within layouts/default (21.3ms)
34584
+ Completed 200 OK in 31ms (Views: 28.8ms | ActiveRecord: 0.3ms)
34585
+  (0.1ms) rollback transaction
34586
+  (0.1ms) begin transaction
34587
+ --------------------------------------------------
34588
+ ListingsControllerTest: test_should_create_listing
34589
+ --------------------------------------------------
34590
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34591
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34592
+ Processing by ListingsController#create as JS
34593
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
34594
+ Unpermitted parameters: deleted_at
34595
+  (0.1ms) SAVEPOINT active_record_1
34596
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 08:51:59.228014"], ["name", "newName"], ["updated_at", "2014-09-12 08:51:59.228014"]]
34597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34598
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.6ms)
34599
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
34600
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.6ms)
34601
+ Rendered listings/_listing.html.erb (5.7ms)
34602
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (6.8ms)
34603
+ Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.3ms)
34604
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34605
+  (0.1ms) rollback transaction
34606
+  (0.0ms) begin transaction
34607
+ ---------------------------------------------------
34608
+ ListingsControllerTest: test_should_destroy_listing
34609
+ ---------------------------------------------------
34610
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34611
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34612
+ Processing by ListingsController#destroy as JS
34613
+ Parameters: {"id"=>"980190962"}
34614
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34615
+  (0.0ms) SAVEPOINT active_record_1
34616
+ SQL (0.4ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
34617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34618
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.4ms)
34619
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.5ms)
34620
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34621
+  (0.1ms) rollback transaction
34622
+  (0.0ms) begin transaction
34623
+ --------------------------------------------
34624
+ ListingsControllerTest: test_should_get_edit
34625
+ --------------------------------------------
34626
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34627
+ Processing by ListingsController#edit as JS
34628
+ Parameters: {"id"=>"980190962"}
34629
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34630
+ Rendered listings/_form.html.erb (1.8ms)
34631
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (3.2ms)
34632
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
34633
+ Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
34634
+  (0.1ms) rollback transaction
34635
+  (0.0ms) begin transaction
34636
+ ---------------------------------------------
34637
+ ListingsControllerTest: test_should_get_index
34638
+ ---------------------------------------------
34639
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34640
+ Processing by ListingsController#index as HTML
34641
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34642
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.2ms)
34643
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
34644
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
34645
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.2ms)
34646
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.2ms)
34647
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
34648
+ Rendered listings/_listing.html.erb (1.1ms)
34649
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.3ms)
34650
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34651
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
34652
+ Rendered listings/_table_header.html.erb (4.9ms)
34653
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.3ms)
34654
+  (0.1ms) rollback transaction
34655
+  (0.0ms) begin transaction
34656
+ -------------------------------------------
34657
+ ListingsControllerTest: test_should_get_new
34658
+ -------------------------------------------
34659
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34660
+ Processing by ListingsController#new as JS
34661
+ Rendered listings/_form.html.erb (0.6ms)
34662
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (1.2ms)
34663
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
34664
+ Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)
34665
+  (0.1ms) rollback transaction
34666
+  (0.0ms) begin transaction
34667
+ ---------------------------------------------------------------------
34668
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
34669
+ ---------------------------------------------------------------------
34670
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34671
+  (0.1ms) rollback transaction
34672
+  (0.0ms) begin transaction
34673
+ --------------------------------------------------
34674
+ ListingsControllerTest: test_should_update_listing
34675
+ --------------------------------------------------
34676
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34677
+ Processing by ListingsController#update as JS
34678
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
34679
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34680
+ Unpermitted parameters: deleted_at
34681
+  (0.0ms) SAVEPOINT active_record_1
34682
+ SQL (0.2ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 08:51:59.294447"]]
34683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34684
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
34685
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
34686
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
34687
+ Rendered listings/_listing.html.erb (0.8ms)
34688
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.4ms)
34689
+ Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.3ms)
34690
+  (0.1ms) rollback transaction
34691
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
34692
+  (0.1ms) begin transaction
34693
+ ---------------------------------------------------------------
34694
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
34695
+ ---------------------------------------------------------------
34696
+  (0.0ms) rollback transaction
34697
+  (0.0ms) begin transaction
34698
+ ------------------------------------------------------
34699
+ SmarterListingLoaderTest: test_helper_methods_included
34700
+ ------------------------------------------------------
34701
+  (0.1ms) rollback transaction
34702
+  (0.0ms) begin transaction
34703
+ ---------------------------------------------------------
34704
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
34705
+ ---------------------------------------------------------
34706
+  (0.0ms) rollback transaction
34707
+  (0.0ms) begin transaction
34708
+ --------------------------------------------------------
34709
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
34710
+ --------------------------------------------------------
34711
+  (0.0ms) rollback transaction
34712
+  (0.0ms) begin transaction
34713
+ -----------------------------------------------------------
34714
+ SmarterListingLoaderTest: test_the_default_filter_parameter
34715
+ -----------------------------------------------------------
34716
+  (0.0ms) rollback transaction
34717
+  (0.0ms) begin transaction
34718
+ Fixture Delete (0.1ms) DELETE FROM "listings"
34719
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:01:28', '2014-09-12 09:01:28', 980190962)
34720
+  (17.8ms) commit transaction
34721
+  (0.0ms) begin transaction
34722
+ -------------------------------------------
34723
+ ListingsControllerTest: test_correct_layout
34724
+ -------------------------------------------
34725
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34726
+ Processing by ListingsController#index as HTML
34727
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34728
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.5ms)
34729
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
34730
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
34731
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
34732
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
34733
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
34734
+ Rendered listings/_listing.html.erb (3.2ms)
34735
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.7ms)
34736
+  (0.0ms) SELECT COUNT(*) FROM "listings"
34737
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.5ms)
34738
+ Rendered listings/_table_header.html.erb (10.3ms)
34739
+ Rendered listings/index.html.erb within layouts/default (14.7ms)
34740
+ Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.2ms)
34741
+  (0.0ms) rollback transaction
34742
+  (0.0ms) begin transaction
34743
+ --------------------------------------------------
34744
+ ListingsControllerTest: test_should_create_listing
34745
+ --------------------------------------------------
34746
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34747
+  (0.0ms) SELECT COUNT(*) FROM "listings"
34748
+ Processing by ListingsController#create as JS
34749
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
34750
+ Unpermitted parameters: deleted_at
34751
+  (0.0ms) SAVEPOINT active_record_1
34752
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:01:29.036098"], ["name", "newName"], ["updated_at", "2014-09-12 09:01:29.036098"]]
34753
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34754
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (5.8ms)
34755
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
34756
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
34757
+ Rendered listings/_listing.html.erb (9.5ms)
34758
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (10.2ms)
34759
+ Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.2ms)
34760
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34761
+  (0.1ms) rollback transaction
34762
+  (0.0ms) begin transaction
34763
+ ---------------------------------------------------
34764
+ ListingsControllerTest: test_should_destroy_listing
34765
+ ---------------------------------------------------
34766
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34767
+  (0.0ms) SELECT COUNT(*) FROM "listings"
34768
+ Processing by ListingsController#destroy as JS
34769
+ Parameters: {"id"=>"980190962"}
34770
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34771
+  (0.0ms) SAVEPOINT active_record_1
34772
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
34773
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34774
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.3ms)
34775
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
34776
+  (0.0ms) SELECT COUNT(*) FROM "listings"
34777
+  (0.1ms) rollback transaction
34778
+  (0.0ms) begin transaction
34779
+ --------------------------------------------
34780
+ ListingsControllerTest: test_should_get_edit
34781
+ --------------------------------------------
34782
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34783
+ Processing by ListingsController#edit as JS
34784
+ Parameters: {"id"=>"980190962"}
34785
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34786
+ Rendered listings/_form.html.erb (1.2ms)
34787
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (2.1ms)
34788
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
34789
+ Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
34790
+  (0.0ms) rollback transaction
34791
+  (0.0ms) begin transaction
34792
+ ---------------------------------------------
34793
+ ListingsControllerTest: test_should_get_index
34794
+ ---------------------------------------------
34795
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34796
+ Processing by ListingsController#index as HTML
34797
+  (0.0ms) SELECT COUNT(*) FROM "listings"
34798
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
34799
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
34800
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
34801
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
34802
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
34803
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
34804
+ Rendered listings/_listing.html.erb (0.8ms)
34805
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
34806
+  (0.0ms) SELECT COUNT(*) FROM "listings"
34807
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
34808
+ Rendered listings/_table_header.html.erb (3.2ms)
34809
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
34810
+  (0.1ms) rollback transaction
34811
+  (0.0ms) begin transaction
34812
+ -------------------------------------------
34813
+ ListingsControllerTest: test_should_get_new
34814
+ -------------------------------------------
34815
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34816
+ Processing by ListingsController#new as JS
34817
+ Rendered listings/_form.html.erb (0.4ms)
34818
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (0.9ms)
34819
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
34820
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
34821
+  (0.0ms) rollback transaction
34822
+  (0.1ms) begin transaction
34823
+ ---------------------------------------------------------------------
34824
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
34825
+ ---------------------------------------------------------------------
34826
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34827
+  (0.0ms) rollback transaction
34828
+  (0.0ms) begin transaction
34829
+ --------------------------------------------------
34830
+ ListingsControllerTest: test_should_update_listing
34831
+ --------------------------------------------------
34832
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34833
+ Processing by ListingsController#update as JS
34834
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
34835
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34836
+ Unpermitted parameters: deleted_at
34837
+  (0.0ms) SAVEPOINT active_record_1
34838
+ SQL (0.1ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:01:29.086912"]]
34839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34840
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
34841
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
34842
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
34843
+ Rendered listings/_listing.html.erb (0.8ms)
34844
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.3ms)
34845
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.2ms)
34846
+  (0.1ms) rollback transaction
34847
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
34848
+  (0.1ms) begin transaction
34849
+ Fixture Delete (0.1ms) DELETE FROM "listings"
34850
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:02:51', '2014-09-12 09:02:51', 980190962)
34851
+  (13.5ms) commit transaction
34852
+  (0.0ms) begin transaction
34853
+ -------------------------------------------
34854
+ ListingsControllerTest: test_correct_layout
34855
+ -------------------------------------------
34856
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34857
+ Processing by ListingsController#index as HTML
34858
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34859
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.5ms)
34860
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
34861
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
34862
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
34863
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
34864
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.5ms)
34865
+ Rendered listings/_listing.html.erb (3.6ms)
34866
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.9ms)
34867
+  (0.0ms) SELECT COUNT(*) FROM "listings"
34868
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.5ms)
34869
+ Rendered listings/_table_header.html.erb (11.5ms)
34870
+ Rendered listings/index.html.erb within layouts/default (15.4ms)
34871
+ Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.2ms)
34872
+  (0.1ms) rollback transaction
34873
+  (0.0ms) begin transaction
34874
+ --------------------------------------------------
34875
+ ListingsControllerTest: test_should_create_listing
34876
+ --------------------------------------------------
34877
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34878
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34879
+ Processing by ListingsController#create as JS
34880
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
34881
+ Unpermitted parameters: deleted_at
34882
+  (0.1ms) SAVEPOINT active_record_1
34883
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:02:51.560146"], ["name", "newName"], ["updated_at", "2014-09-12 09:02:51.560146"]]
34884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34885
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.5ms)
34886
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
34887
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.6ms)
34888
+ Rendered listings/_listing.html.erb (5.4ms)
34889
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (6.3ms)
34890
+ Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.3ms)
34891
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34892
+  (0.1ms) rollback transaction
34893
+  (0.0ms) begin transaction
34894
+ ---------------------------------------------------
34895
+ ListingsControllerTest: test_should_destroy_listing
34896
+ ---------------------------------------------------
34897
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34898
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34899
+ Processing by ListingsController#destroy as JS
34900
+ Parameters: {"id"=>"980190962"}
34901
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34902
+  (0.1ms) SAVEPOINT active_record_1
34903
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
34904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34905
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.5ms)
34906
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.3ms)
34907
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34908
+  (0.1ms) rollback transaction
34909
+  (0.0ms) begin transaction
34910
+ --------------------------------------------
34911
+ ListingsControllerTest: test_should_get_edit
34912
+ --------------------------------------------
34913
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34914
+ Processing by ListingsController#edit as JS
34915
+ Parameters: {"id"=>"980190962"}
34916
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34917
+ Rendered listings/_form.html.erb (1.4ms)
34918
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (2.4ms)
34919
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
34920
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
34921
+  (0.1ms) rollback transaction
34922
+  (0.0ms) begin transaction
34923
+ ---------------------------------------------
34924
+ ListingsControllerTest: test_should_get_index
34925
+ ---------------------------------------------
34926
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34927
+ Processing by ListingsController#index as HTML
34928
+  (0.1ms) SELECT COUNT(*) FROM "listings"
34929
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
34930
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
34931
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
34932
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
34933
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.2ms)
34934
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
34935
+ Rendered listings/_listing.html.erb (1.0ms)
34936
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.3ms)
34937
+  (0.0ms) SELECT COUNT(*) FROM "listings"
34938
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
34939
+ Rendered listings/_table_header.html.erb (4.0ms)
34940
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.2ms)
34941
+  (0.1ms) rollback transaction
34942
+  (0.0ms) begin transaction
34943
+ -------------------------------------------
34944
+ ListingsControllerTest: test_should_get_new
34945
+ -------------------------------------------
34946
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34947
+ Processing by ListingsController#new as JS
34948
+ Rendered listings/_form.html.erb (0.5ms)
34949
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (1.2ms)
34950
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
34951
+ Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
34952
+  (0.1ms) rollback transaction
34953
+  (0.0ms) begin transaction
34954
+ ---------------------------------------------------------------------
34955
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
34956
+ ---------------------------------------------------------------------
34957
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34958
+  (0.0ms) rollback transaction
34959
+  (0.0ms) begin transaction
34960
+ --------------------------------------------------
34961
+ ListingsControllerTest: test_should_update_listing
34962
+ --------------------------------------------------
34963
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34964
+ Processing by ListingsController#update as JS
34965
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
34966
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
34967
+ Unpermitted parameters: deleted_at
34968
+  (0.0ms) SAVEPOINT active_record_1
34969
+ SQL (0.2ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:02:51.628679"]]
34970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34971
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
34972
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
34973
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
34974
+ Rendered listings/_listing.html.erb (1.0ms)
34975
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.7ms)
34976
+ Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.3ms)
34977
+  (0.1ms) rollback transaction
34978
+  (0.1ms) begin transaction
34979
+ ---------------------------------------------------------------
34980
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
34981
+ ---------------------------------------------------------------
34982
+  (0.0ms) rollback transaction
34983
+  (0.1ms) begin transaction
34984
+ ------------------------------------------------------
34985
+ SmarterListingLoaderTest: test_helper_methods_included
34986
+ ------------------------------------------------------
34987
+  (0.1ms) rollback transaction
34988
+  (0.0ms) begin transaction
34989
+ ---------------------------------------------------------
34990
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
34991
+ ---------------------------------------------------------
34992
+  (0.0ms) rollback transaction
34993
+  (0.0ms) begin transaction
34994
+ --------------------------------------------------------
34995
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
34996
+ --------------------------------------------------------
34997
+  (0.0ms) rollback transaction
34998
+  (0.1ms) begin transaction
34999
+ -----------------------------------------------------------
35000
+ SmarterListingLoaderTest: test_the_default_filter_parameter
35001
+ -----------------------------------------------------------
35002
+  (0.0ms) rollback transaction
35003
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
35004
+  (0.2ms) begin transaction
35005
+ ---------------------------------------------------------------
35006
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
35007
+ ---------------------------------------------------------------
35008
+  (0.1ms) rollback transaction
35009
+  (0.1ms) begin transaction
35010
+ ------------------------------------------------------
35011
+ SmarterListingLoaderTest: test_helper_methods_included
35012
+ ------------------------------------------------------
35013
+  (0.1ms) rollback transaction
35014
+  (0.1ms) begin transaction
35015
+ ---------------------------------------------------------
35016
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
35017
+ ---------------------------------------------------------
35018
+  (0.1ms) rollback transaction
35019
+  (0.1ms) begin transaction
35020
+ --------------------------------------------------------
35021
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
35022
+ --------------------------------------------------------
35023
+  (0.1ms) rollback transaction
35024
+  (0.1ms) begin transaction
35025
+ -----------------------------------------------------------
35026
+ SmarterListingLoaderTest: test_the_default_filter_parameter
35027
+ -----------------------------------------------------------
35028
+  (0.1ms) rollback transaction
35029
+  (0.1ms) begin transaction
35030
+ Fixture Delete (0.2ms) DELETE FROM "listings"
35031
+ Fixture Insert (0.2ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:03:31', '2014-09-12 09:03:31', 980190962)
35032
+  (11.1ms) commit transaction
35033
+  (0.2ms) begin transaction
35034
+ -------------------------------------------
35035
+ ListingsControllerTest: test_correct_layout
35036
+ -------------------------------------------
35037
+ Listing Load (0.4ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35038
+ Processing by ListingsController#index as HTML
35039
+  (0.2ms) SELECT COUNT(*) FROM "listings"
35040
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (1.5ms)
35041
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.5ms)
35042
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35043
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.7ms)
35044
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (1.0ms)
35045
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (1.0ms)
35046
+ Rendered listings/_listing.html.erb (8.0ms)
35047
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (1.6ms)
35048
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35049
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (1.2ms)
35050
+ Rendered listings/_table_header.html.erb (34.2ms)
35051
+ Rendered listings/index.html.erb within layouts/default (50.7ms)
35052
+ Completed 200 OK in 66ms (Views: 61.6ms | ActiveRecord: 0.5ms)
35053
+  (0.2ms) rollback transaction
35054
+  (0.1ms) begin transaction
35055
+ --------------------------------------------------
35056
+ ListingsControllerTest: test_should_create_listing
35057
+ --------------------------------------------------
35058
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35059
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35060
+ Processing by ListingsController#create as JS
35061
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
35062
+ Unpermitted parameters: deleted_at
35063
+  (0.1ms) SAVEPOINT active_record_1
35064
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:03:31.901533"], ["name", "newName"], ["updated_at", "2014-09-12 09:03:31.901533"]]
35065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35066
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.9ms)
35067
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (1.1ms)
35068
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (1.0ms)
35069
+ Rendered listings/_listing.html.erb (9.2ms)
35070
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (11.1ms)
35071
+ Completed 200 OK in 23ms (Views: 17.5ms | ActiveRecord: 0.5ms)
35072
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35073
+  (0.1ms) rollback transaction
35074
+  (0.2ms) begin transaction
35075
+ ---------------------------------------------------
35076
+ ListingsControllerTest: test_should_destroy_listing
35077
+ ---------------------------------------------------
35078
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35079
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35080
+ Processing by ListingsController#destroy as JS
35081
+ Parameters: {"id"=>"980190962"}
35082
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35083
+  (0.1ms) SAVEPOINT active_record_1
35084
+ SQL (0.2ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
35085
+  (0.2ms) RELEASE SAVEPOINT active_record_1
35086
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.9ms)
35087
+ Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.6ms)
35088
+  (0.2ms) SELECT COUNT(*) FROM "listings"
35089
+  (0.1ms) rollback transaction
35090
+  (0.1ms) begin transaction
35091
+ --------------------------------------------
35092
+ ListingsControllerTest: test_should_get_edit
35093
+ --------------------------------------------
35094
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35095
+ Processing by ListingsController#edit as JS
35096
+ Parameters: {"id"=>"980190962"}
35097
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35098
+ Rendered listings/_form.html.erb (2.8ms)
35099
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (4.4ms)
35100
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.5ms)
35101
+ Completed 200 OK in 15ms (Views: 12.7ms | ActiveRecord: 0.1ms)
35102
+  (0.2ms) rollback transaction
35103
+  (0.2ms) begin transaction
35104
+ ---------------------------------------------
35105
+ ListingsControllerTest: test_should_get_index
35106
+ ---------------------------------------------
35107
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35108
+ Processing by ListingsController#index as HTML
35109
+  (0.2ms) SELECT COUNT(*) FROM "listings"
35110
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.6ms)
35111
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
35112
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35113
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
35114
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
35115
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.6ms)
35116
+ Rendered listings/_listing.html.erb (3.3ms)
35117
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.8ms)
35118
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35119
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.4ms)
35120
+ Rendered listings/_table_header.html.erb (13.3ms)
35121
+ Completed 200 OK in 22ms (Views: 18.0ms | ActiveRecord: 0.5ms)
35122
+  (0.2ms) rollback transaction
35123
+  (0.2ms) begin transaction
35124
+ -------------------------------------------
35125
+ ListingsControllerTest: test_should_get_new
35126
+ -------------------------------------------
35127
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35128
+ Processing by ListingsController#new as JS
35129
+ Rendered listings/_form.html.erb (1.8ms)
35130
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (3.2ms)
35131
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
35132
+ Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms)
35133
+  (0.2ms) rollback transaction
35134
+  (0.1ms) begin transaction
35135
+ ---------------------------------------------------------------------
35136
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
35137
+ ---------------------------------------------------------------------
35138
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35139
+  (0.2ms) rollback transaction
35140
+  (0.2ms) begin transaction
35141
+ --------------------------------------------------
35142
+ ListingsControllerTest: test_should_update_listing
35143
+ --------------------------------------------------
35144
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35145
+ Processing by ListingsController#update as JS
35146
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
35147
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35148
+ Unpermitted parameters: deleted_at
35149
+  (0.1ms) SAVEPOINT active_record_1
35150
+ SQL (0.3ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:03:38.362089"]]
35151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35152
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.5ms)
35153
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
35154
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.6ms)
35155
+ Rendered listings/_listing.html.erb (3.5ms)
35156
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (4.8ms)
35157
+ Completed 200 OK in 18ms (Views: 11.3ms | ActiveRecord: 0.6ms)
35158
+  (0.2ms) rollback transaction
35159
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
35160
+  (0.2ms) begin transaction
35161
+ ---------------------------------------------------------------
35162
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
35163
+ ---------------------------------------------------------------
35164
+  (0.1ms) rollback transaction
35165
+  (0.1ms) begin transaction
35166
+ ------------------------------------------------------
35167
+ SmarterListingLoaderTest: test_helper_methods_included
35168
+ ------------------------------------------------------
35169
+  (0.2ms) rollback transaction
35170
+  (0.1ms) begin transaction
35171
+ ---------------------------------------------------------
35172
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
35173
+ ---------------------------------------------------------
35174
+  (0.1ms) rollback transaction
35175
+  (0.1ms) begin transaction
35176
+ --------------------------------------------------------
35177
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
35178
+ --------------------------------------------------------
35179
+  (0.1ms) rollback transaction
35180
+  (0.1ms) begin transaction
35181
+ -----------------------------------------------------------
35182
+ SmarterListingLoaderTest: test_the_default_filter_parameter
35183
+ -----------------------------------------------------------
35184
+  (0.1ms) rollback transaction
35185
+  (0.1ms) begin transaction
35186
+ Fixture Delete (0.2ms) DELETE FROM "listings"
35187
+ Fixture Insert (0.2ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:03:41', '2014-09-12 09:03:41', 980190962)
35188
+  (10.6ms) commit transaction
35189
+  (0.1ms) begin transaction
35190
+ -------------------------------------------
35191
+ ListingsControllerTest: test_correct_layout
35192
+ -------------------------------------------
35193
+ Listing Load (0.3ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35194
+ Processing by ListingsController#index as HTML
35195
+  (0.2ms) SELECT COUNT(*) FROM "listings"
35196
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (1.0ms)
35197
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.3ms)
35198
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35199
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.9ms)
35200
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.9ms)
35201
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (1.2ms)
35202
+ Rendered listings/_listing.html.erb (7.7ms)
35203
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (1.7ms)
35204
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35205
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (1.2ms)
35206
+ Rendered listings/_table_header.html.erb (30.6ms)
35207
+ Rendered listings/index.html.erb within layouts/default (47.0ms)
35208
+ Completed 200 OK in 63ms (Views: 57.8ms | ActiveRecord: 0.5ms)
35209
+  (0.1ms) rollback transaction
35210
+  (0.1ms) begin transaction
35211
+ --------------------------------------------------
35212
+ ListingsControllerTest: test_should_create_listing
35213
+ --------------------------------------------------
35214
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35215
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35216
+ Processing by ListingsController#create as JS
35217
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
35218
+ Unpermitted parameters: deleted_at
35219
+  (0.1ms) SAVEPOINT active_record_1
35220
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:03:42.112981"], ["name", "newName"], ["updated_at", "2014-09-12 09:03:42.112981"]]
35221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35222
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.7ms)
35223
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.8ms)
35224
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (1.1ms)
35225
+ Rendered listings/_listing.html.erb (7.8ms)
35226
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (9.3ms)
35227
+ Completed 200 OK in 21ms (Views: 15.4ms | ActiveRecord: 0.4ms)
35228
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35229
+  (0.1ms) rollback transaction
35230
+  (0.1ms) begin transaction
35231
+ ---------------------------------------------------
35232
+ ListingsControllerTest: test_should_destroy_listing
35233
+ ---------------------------------------------------
35234
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35235
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35236
+ Processing by ListingsController#destroy as JS
35237
+ Parameters: {"id"=>"980190962"}
35238
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35239
+  (0.1ms) SAVEPOINT active_record_1
35240
+ SQL (0.2ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
35241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35242
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.6ms)
35243
+ Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.5ms)
35244
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35245
+  (0.1ms) rollback transaction
35246
+  (0.1ms) begin transaction
35247
+ --------------------------------------------
35248
+ ListingsControllerTest: test_should_get_edit
35249
+ --------------------------------------------
35250
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35251
+ Processing by ListingsController#edit as JS
35252
+ Parameters: {"id"=>"980190962"}
35253
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35254
+ Rendered listings/_form.html.erb (3.5ms)
35255
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (5.8ms)
35256
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.8ms)
35257
+ Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 0.2ms)
35258
+  (0.2ms) rollback transaction
35259
+  (0.2ms) begin transaction
35260
+ ---------------------------------------------
35261
+ ListingsControllerTest: test_should_get_index
35262
+ ---------------------------------------------
35263
+ Listing Load (0.4ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35264
+ Processing by ListingsController#index as HTML
35265
+  (0.2ms) SELECT COUNT(*) FROM "listings"
35266
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.5ms)
35267
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.5ms)
35268
+ Listing Load (0.3ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35269
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.5ms)
35270
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.9ms)
35271
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (1.0ms)
35272
+ Rendered listings/_listing.html.erb (4.9ms)
35273
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (1.0ms)
35274
+  (0.2ms) SELECT COUNT(*) FROM "listings"
35275
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.6ms)
35276
+ Rendered listings/_table_header.html.erb (17.7ms)
35277
+ Completed 200 OK in 28ms (Views: 23.1ms | ActiveRecord: 0.7ms)
35278
+  (0.3ms) rollback transaction
35279
+  (0.1ms) begin transaction
35280
+ -------------------------------------------
35281
+ ListingsControllerTest: test_should_get_new
35282
+ -------------------------------------------
35283
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35284
+ Processing by ListingsController#new as JS
35285
+ Rendered listings/_form.html.erb (1.7ms)
35286
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (2.9ms)
35287
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
35288
+ Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms)
35289
+  (0.3ms) rollback transaction
35290
+  (0.1ms) begin transaction
35291
+ ---------------------------------------------------------------------
35292
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
35293
+ ---------------------------------------------------------------------
35294
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35295
+  (0.2ms) rollback transaction
35296
+  (0.1ms) begin transaction
35297
+ --------------------------------------------------
35298
+ ListingsControllerTest: test_should_update_listing
35299
+ --------------------------------------------------
35300
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35301
+ Processing by ListingsController#update as JS
35302
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
35303
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35304
+ Unpermitted parameters: deleted_at
35305
+  (0.2ms) SAVEPOINT active_record_1
35306
+ SQL (0.3ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:08:33.558041"]]
35307
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35308
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
35309
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
35310
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.7ms)
35311
+ Rendered listings/_listing.html.erb (3.8ms)
35312
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (5.4ms)
35313
+ Completed 200 OK in 21ms (Views: 12.6ms | ActiveRecord: 0.7ms)
35314
+  (0.2ms) rollback transaction
35315
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
35316
+  (0.1ms) begin transaction
35317
+ Fixture Delete (0.1ms) DELETE FROM "listings"
35318
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:24:38', '2014-09-12 09:24:38', 980190962)
35319
+  (12.0ms) commit transaction
35320
+  (0.0ms) begin transaction
35321
+ -------------------------------------------
35322
+ ListingsControllerTest: test_correct_layout
35323
+ -------------------------------------------
35324
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35325
+  (0.0ms) rollback transaction
35326
+  (0.0ms) begin transaction
35327
+ --------------------------------------------------
35328
+ ListingsControllerTest: test_should_create_listing
35329
+ --------------------------------------------------
35330
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35331
+  (0.0ms) rollback transaction
35332
+  (0.0ms) begin transaction
35333
+ ---------------------------------------------------
35334
+ ListingsControllerTest: test_should_destroy_listing
35335
+ ---------------------------------------------------
35336
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35337
+  (0.0ms) rollback transaction
35338
+  (0.0ms) begin transaction
35339
+ --------------------------------------------
35340
+ ListingsControllerTest: test_should_get_edit
35341
+ --------------------------------------------
35342
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35343
+  (0.0ms) rollback transaction
35344
+  (0.0ms) begin transaction
35345
+ ---------------------------------------------
35346
+ ListingsControllerTest: test_should_get_index
35347
+ ---------------------------------------------
35348
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35349
+  (0.0ms) rollback transaction
35350
+  (0.0ms) begin transaction
35351
+ -------------------------------------------
35352
+ ListingsControllerTest: test_should_get_new
35353
+ -------------------------------------------
35354
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35355
+  (0.0ms) rollback transaction
35356
+  (0.0ms) begin transaction
35357
+ ---------------------------------------------------------------------
35358
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
35359
+ ---------------------------------------------------------------------
35360
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35361
+  (0.1ms) rollback transaction
35362
+  (0.0ms) begin transaction
35363
+ --------------------------------------------------
35364
+ ListingsControllerTest: test_should_update_listing
35365
+ --------------------------------------------------
35366
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35367
+  (0.0ms) rollback transaction
35368
+  (0.0ms) begin transaction
35369
+ ---------------------------------------------------------------
35370
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
35371
+ ---------------------------------------------------------------
35372
+  (0.0ms) rollback transaction
35373
+  (0.0ms) begin transaction
35374
+ ------------------------------------------------------
35375
+ SmarterListingLoaderTest: test_helper_methods_included
35376
+ ------------------------------------------------------
35377
+  (0.0ms) rollback transaction
35378
+  (0.0ms) begin transaction
35379
+ ---------------------------------------------------------
35380
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
35381
+ ---------------------------------------------------------
35382
+  (0.0ms) rollback transaction
35383
+  (0.0ms) begin transaction
35384
+ --------------------------------------------------------
35385
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
35386
+ --------------------------------------------------------
35387
+  (0.0ms) rollback transaction
35388
+  (0.0ms) begin transaction
35389
+ -----------------------------------------------------------
35390
+ SmarterListingLoaderTest: test_the_default_filter_parameter
35391
+ -----------------------------------------------------------
35392
+  (0.0ms) rollback transaction
35393
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
35394
+  (0.1ms) begin transaction
35395
+ Fixture Delete (0.1ms) DELETE FROM "listings"
35396
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:24:41', '2014-09-12 09:24:41', 980190962)
35397
+  (18.5ms) commit transaction
35398
+  (0.0ms) begin transaction
35399
+ -------------------------------------------
35400
+ ListingsControllerTest: test_correct_layout
35401
+ -------------------------------------------
35402
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35403
+ Processing by ListingsController#index as HTML
35404
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35405
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.6ms)
35406
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
35407
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35408
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
35409
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
35410
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
35411
+ Rendered listings/_listing.html.erb (3.8ms)
35412
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.6ms)
35413
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35414
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.5ms)
35415
+ Rendered listings/_table_header.html.erb (11.7ms)
35416
+ Rendered listings/index.html.erb within layouts/default (16.5ms)
35417
+ Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 0.2ms)
35418
+  (0.1ms) rollback transaction
35419
+  (0.0ms) begin transaction
35420
+ --------------------------------------------------
35421
+ ListingsControllerTest: test_should_create_listing
35422
+ --------------------------------------------------
35423
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35424
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35425
+ Processing by ListingsController#create as JS
35426
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
35427
+ Unpermitted parameters: deleted_at
35428
+  (0.1ms) SAVEPOINT active_record_1
35429
+ SQL (0.1ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:24:42.023070"], ["name", "newName"], ["updated_at", "2014-09-12 09:24:42.023070"]]
35430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35431
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.5ms)
35432
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
35433
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
35434
+ Rendered listings/_listing.html.erb (4.8ms)
35435
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (10.7ms)
35436
+ Completed 200 OK in 18ms (Views: 15.9ms | ActiveRecord: 0.2ms)
35437
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35438
+  (0.1ms) rollback transaction
35439
+  (0.0ms) begin transaction
35440
+ ---------------------------------------------------
35441
+ ListingsControllerTest: test_should_destroy_listing
35442
+ ---------------------------------------------------
35443
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35444
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35445
+ Processing by ListingsController#destroy as JS
35446
+ Parameters: {"id"=>"980190962"}
35447
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35448
+  (0.0ms) SAVEPOINT active_record_1
35449
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
35450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35451
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.4ms)
35452
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
35453
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35454
+  (0.1ms) rollback transaction
35455
+  (0.0ms) begin transaction
35456
+ --------------------------------------------
35457
+ ListingsControllerTest: test_should_get_edit
35458
+ --------------------------------------------
35459
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35460
+ Processing by ListingsController#edit as JS
35461
+ Parameters: {"id"=>"980190962"}
35462
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35463
+ Rendered listings/_form.html.erb (1.0ms)
35464
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (1.8ms)
35465
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
35466
+ Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)
35467
+  (0.0ms) rollback transaction
35468
+  (0.0ms) begin transaction
35469
+ ---------------------------------------------
35470
+ ListingsControllerTest: test_should_get_index
35471
+ ---------------------------------------------
35472
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35473
+ Processing by ListingsController#index as HTML
35474
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35475
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
35476
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
35477
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35478
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
35479
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
35480
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
35481
+ Rendered listings/_listing.html.erb (0.7ms)
35482
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
35483
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35484
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
35485
+ Rendered listings/_table_header.html.erb (2.9ms)
35486
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
35487
+  (0.1ms) rollback transaction
35488
+  (0.0ms) begin transaction
35489
+ -------------------------------------------
35490
+ ListingsControllerTest: test_should_get_new
35491
+ -------------------------------------------
35492
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35493
+ Processing by ListingsController#new as JS
35494
+ Rendered listings/_form.html.erb (0.5ms)
35495
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (1.0ms)
35496
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
35497
+ Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
35498
+  (0.1ms) rollback transaction
35499
+  (0.0ms) begin transaction
35500
+ ---------------------------------------------------------------------
35501
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
35502
+ ---------------------------------------------------------------------
35503
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35504
+  (0.0ms) rollback transaction
35505
+  (0.0ms) begin transaction
35506
+ --------------------------------------------------
35507
+ ListingsControllerTest: test_should_update_listing
35508
+ --------------------------------------------------
35509
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35510
+ Processing by ListingsController#update as JS
35511
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
35512
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35513
+ Unpermitted parameters: deleted_at
35514
+  (0.0ms) SAVEPOINT active_record_1
35515
+ SQL (0.1ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:24:42.078477"]]
35516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35517
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
35518
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
35519
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
35520
+ Rendered listings/_listing.html.erb (0.8ms)
35521
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.2ms)
35522
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.2ms)
35523
+  (0.1ms) rollback transaction
35524
+  (0.0ms) begin transaction
35525
+ ---------------------------------------------------------------
35526
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
35527
+ ---------------------------------------------------------------
35528
+  (0.0ms) rollback transaction
35529
+  (0.0ms) begin transaction
35530
+ ------------------------------------------------------
35531
+ SmarterListingLoaderTest: test_helper_methods_included
35532
+ ------------------------------------------------------
35533
+  (0.0ms) rollback transaction
35534
+  (0.0ms) begin transaction
35535
+ ---------------------------------------------------------
35536
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
35537
+ ---------------------------------------------------------
35538
+  (0.0ms) rollback transaction
35539
+  (0.0ms) begin transaction
35540
+ --------------------------------------------------------
35541
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
35542
+ --------------------------------------------------------
35543
+  (0.0ms) rollback transaction
35544
+  (0.0ms) begin transaction
35545
+ -----------------------------------------------------------
35546
+ SmarterListingLoaderTest: test_the_default_filter_parameter
35547
+ -----------------------------------------------------------
35548
+  (0.0ms) rollback transaction
35549
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
35550
+  (0.1ms) begin transaction
35551
+ Fixture Delete (0.1ms) DELETE FROM "listings"
35552
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:26:37', '2014-09-12 09:26:37', 980190962)
35553
+  (20.3ms) commit transaction
35554
+  (0.0ms) begin transaction
35555
+ -------------------------------------------
35556
+ ListingsControllerTest: test_correct_layout
35557
+ -------------------------------------------
35558
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35559
+ Processing by ListingsController#index as HTML
35560
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35561
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
35562
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
35563
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35564
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
35565
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
35566
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
35567
+ Rendered listings/_listing.html.erb (3.5ms)
35568
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.7ms)
35569
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35570
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.5ms)
35571
+ Rendered listings/_table_header.html.erb (10.7ms)
35572
+ Rendered listings/index.html.erb within layouts/default (14.4ms)
35573
+ Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.2ms)
35574
+  (0.1ms) rollback transaction
35575
+  (0.0ms) begin transaction
35576
+ --------------------------------------------------
35577
+ ListingsControllerTest: test_should_create_listing
35578
+ --------------------------------------------------
35579
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35580
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35581
+ Processing by ListingsController#create as JS
35582
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
35583
+ Unpermitted parameters: deleted_at
35584
+  (0.0ms) SAVEPOINT active_record_1
35585
+ SQL (0.1ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:26:37.367291"], ["name", "newName"], ["updated_at", "2014-09-12 09:26:37.367291"]]
35586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35587
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
35588
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
35589
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.5ms)
35590
+ Rendered listings/_listing.html.erb (3.9ms)
35591
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (4.6ms)
35592
+ Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.2ms)
35593
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35594
+  (0.1ms) rollback transaction
35595
+  (0.0ms) begin transaction
35596
+ ---------------------------------------------------
35597
+ ListingsControllerTest: test_should_destroy_listing
35598
+ ---------------------------------------------------
35599
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35600
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35601
+ Processing by ListingsController#destroy as JS
35602
+ Parameters: {"id"=>"980190962"}
35603
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35604
+  (0.0ms) SAVEPOINT active_record_1
35605
+ SQL (0.2ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
35606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35607
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.4ms)
35608
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.3ms)
35609
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35610
+  (0.1ms) rollback transaction
35611
+  (0.0ms) begin transaction
35612
+ --------------------------------------------
35613
+ ListingsControllerTest: test_should_get_edit
35614
+ --------------------------------------------
35615
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35616
+ Processing by ListingsController#edit as JS
35617
+ Parameters: {"id"=>"980190962"}
35618
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35619
+ Rendered listings/_form.html.erb (1.1ms)
35620
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (1.8ms)
35621
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
35622
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
35623
+  (0.1ms) rollback transaction
35624
+  (0.0ms) begin transaction
35625
+ ---------------------------------------------
35626
+ ListingsControllerTest: test_should_get_index
35627
+ ---------------------------------------------
35628
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35629
+ Processing by ListingsController#index as HTML
35630
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35631
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.2ms)
35632
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
35633
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35634
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
35635
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
35636
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
35637
+ Rendered listings/_listing.html.erb (0.7ms)
35638
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
35639
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35640
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
35641
+ Rendered listings/_table_header.html.erb (3.0ms)
35642
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.2ms)
35643
+  (0.1ms) rollback transaction
35644
+  (0.0ms) begin transaction
35645
+ -------------------------------------------
35646
+ ListingsControllerTest: test_should_get_new
35647
+ -------------------------------------------
35648
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35649
+ Processing by ListingsController#new as JS
35650
+ Rendered listings/_form.html.erb (0.5ms)
35651
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (1.0ms)
35652
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
35653
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
35654
+  (0.1ms) rollback transaction
35655
+  (0.0ms) begin transaction
35656
+ ---------------------------------------------------------------------
35657
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
35658
+ ---------------------------------------------------------------------
35659
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35660
+  (0.0ms) rollback transaction
35661
+  (0.0ms) begin transaction
35662
+ --------------------------------------------------
35663
+ ListingsControllerTest: test_should_update_listing
35664
+ --------------------------------------------------
35665
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35666
+ Processing by ListingsController#update as JS
35667
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
35668
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35669
+ Unpermitted parameters: deleted_at
35670
+  (0.0ms) SAVEPOINT active_record_1
35671
+ SQL (0.1ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:26:37.422250"]]
35672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35673
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
35674
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.2ms)
35675
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
35676
+ Rendered listings/_listing.html.erb (0.8ms)
35677
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.3ms)
35678
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.2ms)
35679
+  (0.1ms) rollback transaction
35680
+  (0.0ms) begin transaction
35681
+ ---------------------------------------------------------------
35682
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
35683
+ ---------------------------------------------------------------
35684
+  (0.0ms) rollback transaction
35685
+  (0.0ms) begin transaction
35686
+ ------------------------------------------------------
35687
+ SmarterListingLoaderTest: test_helper_methods_included
35688
+ ------------------------------------------------------
35689
+  (0.0ms) rollback transaction
35690
+  (0.0ms) begin transaction
35691
+ ---------------------------------------------------------
35692
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
35693
+ ---------------------------------------------------------
35694
+  (0.0ms) rollback transaction
35695
+  (0.0ms) begin transaction
35696
+ --------------------------------------------------------
35697
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
35698
+ --------------------------------------------------------
35699
+  (0.0ms) rollback transaction
35700
+  (0.0ms) begin transaction
35701
+ -----------------------------------------------------------
35702
+ SmarterListingLoaderTest: test_the_default_filter_parameter
35703
+ -----------------------------------------------------------
35704
+  (0.0ms) rollback transaction
35705
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
35706
+  (0.1ms) begin transaction
35707
+ ---------------------------------------------------------------
35708
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
35709
+ ---------------------------------------------------------------
35710
+  (0.0ms) rollback transaction
35711
+  (0.0ms) begin transaction
35712
+ ------------------------------------------------------
35713
+ SmarterListingLoaderTest: test_helper_methods_included
35714
+ ------------------------------------------------------
35715
+  (0.1ms) rollback transaction
35716
+  (0.0ms) begin transaction
35717
+ ---------------------------------------------------------
35718
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
35719
+ ---------------------------------------------------------
35720
+  (0.0ms) rollback transaction
35721
+  (0.0ms) begin transaction
35722
+ --------------------------------------------------------
35723
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
35724
+ --------------------------------------------------------
35725
+  (0.0ms) rollback transaction
35726
+  (0.0ms) begin transaction
35727
+ -----------------------------------------------------------
35728
+ SmarterListingLoaderTest: test_the_default_filter_parameter
35729
+ -----------------------------------------------------------
35730
+  (0.0ms) rollback transaction
35731
+  (0.0ms) begin transaction
35732
+ Fixture Delete (0.1ms) DELETE FROM "listings"
35733
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:26:43', '2014-09-12 09:26:43', 980190962)
35734
+  (10.7ms) commit transaction
35735
+  (0.0ms) begin transaction
35736
+ -------------------------------------------
35737
+ ListingsControllerTest: test_correct_layout
35738
+ -------------------------------------------
35739
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35740
+ Processing by ListingsController#index as HTML
35741
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35742
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
35743
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
35744
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35745
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
35746
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
35747
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
35748
+ Rendered listings/_listing.html.erb (3.5ms)
35749
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.6ms)
35750
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35751
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.4ms)
35752
+ Rendered listings/_table_header.html.erb (10.4ms)
35753
+ Rendered listings/index.html.erb within layouts/default (14.2ms)
35754
+ Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.2ms)
35755
+  (0.1ms) rollback transaction
35756
+  (0.0ms) begin transaction
35757
+ --------------------------------------------------
35758
+ ListingsControllerTest: test_should_create_listing
35759
+ --------------------------------------------------
35760
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35761
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35762
+ Processing by ListingsController#create as JS
35763
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
35764
+ Unpermitted parameters: deleted_at
35765
+  (0.0ms) SAVEPOINT active_record_1
35766
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:26:43.171410"], ["name", "newName"], ["updated_at", "2014-09-12 09:26:43.171410"]]
35767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35768
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
35769
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
35770
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
35771
+ Rendered listings/_listing.html.erb (4.0ms)
35772
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (4.9ms)
35773
+ Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 0.2ms)
35774
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35775
+  (0.1ms) rollback transaction
35776
+  (0.0ms) begin transaction
35777
+ ---------------------------------------------------
35778
+ ListingsControllerTest: test_should_destroy_listing
35779
+ ---------------------------------------------------
35780
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35781
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35782
+ Processing by ListingsController#destroy as JS
35783
+ Parameters: {"id"=>"980190962"}
35784
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35785
+  (0.0ms) SAVEPOINT active_record_1
35786
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
35787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35788
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.5ms)
35789
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
35790
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35791
+  (0.1ms) rollback transaction
35792
+  (0.0ms) begin transaction
35793
+ --------------------------------------------
35794
+ ListingsControllerTest: test_should_get_edit
35795
+ --------------------------------------------
35796
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35797
+ Processing by ListingsController#edit as JS
35798
+ Parameters: {"id"=>"980190962"}
35799
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35800
+ Rendered listings/_form.html.erb (1.1ms)
35801
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (2.1ms)
35802
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
35803
+ Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.1ms)
35804
+  (0.0ms) rollback transaction
35805
+  (0.0ms) begin transaction
35806
+ ---------------------------------------------
35807
+ ListingsControllerTest: test_should_get_index
35808
+ ---------------------------------------------
35809
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35810
+ Processing by ListingsController#index as HTML
35811
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35812
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
35813
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
35814
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35815
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
35816
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
35817
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
35818
+ Rendered listings/_listing.html.erb (0.6ms)
35819
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
35820
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35821
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
35822
+ Rendered listings/_table_header.html.erb (2.8ms)
35823
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms)
35824
+  (0.1ms) rollback transaction
35825
+  (0.0ms) begin transaction
35826
+ -------------------------------------------
35827
+ ListingsControllerTest: test_should_get_new
35828
+ -------------------------------------------
35829
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35830
+ Processing by ListingsController#new as JS
35831
+ Rendered listings/_form.html.erb (0.4ms)
35832
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (0.8ms)
35833
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
35834
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
35835
+  (0.0ms) rollback transaction
35836
+  (0.0ms) begin transaction
35837
+ ---------------------------------------------------------------------
35838
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
35839
+ ---------------------------------------------------------------------
35840
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35841
+  (0.0ms) rollback transaction
35842
+  (0.0ms) begin transaction
35843
+ --------------------------------------------------
35844
+ ListingsControllerTest: test_should_update_listing
35845
+ --------------------------------------------------
35846
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35847
+ Processing by ListingsController#update as JS
35848
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
35849
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35850
+ Unpermitted parameters: deleted_at
35851
+  (0.1ms) SAVEPOINT active_record_1
35852
+ SQL (0.1ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:26:43.225354"]]
35853
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35854
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
35855
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
35856
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
35857
+ Rendered listings/_listing.html.erb (0.7ms)
35858
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.1ms)
35859
+ Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)
35860
+  (0.1ms) rollback transaction
35861
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
35862
+  (0.1ms) begin transaction
35863
+ ---------------------------------------------------------------
35864
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
35865
+ ---------------------------------------------------------------
35866
+  (0.0ms) rollback transaction
35867
+  (0.0ms) begin transaction
35868
+ ------------------------------------------------------
35869
+ SmarterListingLoaderTest: test_helper_methods_included
35870
+ ------------------------------------------------------
35871
+  (0.0ms) rollback transaction
35872
+  (0.0ms) begin transaction
35873
+ ---------------------------------------------------------
35874
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
35875
+ ---------------------------------------------------------
35876
+  (0.0ms) rollback transaction
35877
+  (0.0ms) begin transaction
35878
+ --------------------------------------------------------
35879
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
35880
+ --------------------------------------------------------
35881
+  (0.0ms) rollback transaction
35882
+  (0.0ms) begin transaction
35883
+ -----------------------------------------------------------
35884
+ SmarterListingLoaderTest: test_the_default_filter_parameter
35885
+ -----------------------------------------------------------
35886
+  (0.0ms) rollback transaction
35887
+  (0.0ms) begin transaction
35888
+ Fixture Delete (0.1ms) DELETE FROM "listings"
35889
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:26:50', '2014-09-12 09:26:50', 980190962)
35890
+  (15.0ms) commit transaction
35891
+  (0.0ms) begin transaction
35892
+ -------------------------------------------
35893
+ ListingsControllerTest: test_correct_layout
35894
+ -------------------------------------------
35895
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35896
+ Processing by ListingsController#index as HTML
35897
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35898
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
35899
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
35900
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35901
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
35902
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
35903
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
35904
+ Rendered listings/_listing.html.erb (3.4ms)
35905
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.7ms)
35906
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35907
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.4ms)
35908
+ Rendered listings/_table_header.html.erb (10.4ms)
35909
+ Rendered listings/index.html.erb within layouts/default (14.3ms)
35910
+ Completed 200 OK in 20ms (Views: 18.8ms | ActiveRecord: 0.2ms)
35911
+  (0.1ms) rollback transaction
35912
+  (0.0ms) begin transaction
35913
+ --------------------------------------------------
35914
+ ListingsControllerTest: test_should_create_listing
35915
+ --------------------------------------------------
35916
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35917
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35918
+ Processing by ListingsController#create as JS
35919
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
35920
+ Unpermitted parameters: deleted_at
35921
+  (0.1ms) SAVEPOINT active_record_1
35922
+ SQL (0.1ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:26:50.239709"], ["name", "newName"], ["updated_at", "2014-09-12 09:26:50.239709"]]
35923
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35924
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
35925
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
35926
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
35927
+ Rendered listings/_listing.html.erb (3.8ms)
35928
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (9.5ms)
35929
+ Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.2ms)
35930
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35931
+  (0.1ms) rollback transaction
35932
+  (0.0ms) begin transaction
35933
+ ---------------------------------------------------
35934
+ ListingsControllerTest: test_should_destroy_listing
35935
+ ---------------------------------------------------
35936
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35937
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35938
+ Processing by ListingsController#destroy as JS
35939
+ Parameters: {"id"=>"980190962"}
35940
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35941
+  (0.0ms) SAVEPOINT active_record_1
35942
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
35943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35944
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.4ms)
35945
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
35946
+  (0.1ms) SELECT COUNT(*) FROM "listings"
35947
+  (0.1ms) rollback transaction
35948
+  (0.0ms) begin transaction
35949
+ --------------------------------------------
35950
+ ListingsControllerTest: test_should_get_edit
35951
+ --------------------------------------------
35952
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35953
+ Processing by ListingsController#edit as JS
35954
+ Parameters: {"id"=>"980190962"}
35955
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35956
+ Completed 500 Internal Server Error in 2ms
35957
+  (0.1ms) rollback transaction
35958
+  (0.0ms) begin transaction
35959
+ ---------------------------------------------
35960
+ ListingsControllerTest: test_should_get_index
35961
+ ---------------------------------------------
35962
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35963
+ Processing by ListingsController#index as HTML
35964
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35965
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
35966
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
35967
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
35968
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
35969
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
35970
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
35971
+ Rendered listings/_listing.html.erb (0.7ms)
35972
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
35973
+  (0.0ms) SELECT COUNT(*) FROM "listings"
35974
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
35975
+ Rendered listings/_table_header.html.erb (2.9ms)
35976
+ Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms)
35977
+  (0.1ms) rollback transaction
35978
+  (0.0ms) begin transaction
35979
+ -------------------------------------------
35980
+ ListingsControllerTest: test_should_get_new
35981
+ -------------------------------------------
35982
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35983
+ Processing by ListingsController#new as JS
35984
+ Rendered listings/_form.html.erb (0.9ms)
35985
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (1.6ms)
35986
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
35987
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
35988
+  (0.0ms) rollback transaction
35989
+  (0.0ms) begin transaction
35990
+ ---------------------------------------------------------------------
35991
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
35992
+ ---------------------------------------------------------------------
35993
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
35994
+  (0.0ms) rollback transaction
35995
+  (0.0ms) begin transaction
35996
+ --------------------------------------------------
35997
+ ListingsControllerTest: test_should_update_listing
35998
+ --------------------------------------------------
35999
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36000
+ Processing by ListingsController#update as JS
36001
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
36002
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36003
+ Unpermitted parameters: deleted_at
36004
+  (0.0ms) SAVEPOINT active_record_1
36005
+ SQL (0.2ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:26:50.290210"]]
36006
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36007
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
36008
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
36009
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
36010
+ Rendered listings/_listing.html.erb (0.9ms)
36011
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.4ms)
36012
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.3ms)
36013
+  (0.1ms) rollback transaction
36014
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36015
+  (0.1ms) begin transaction
36016
+ ---------------------------------------------------------------
36017
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
36018
+ ---------------------------------------------------------------
36019
+  (0.1ms) rollback transaction
36020
+  (0.1ms) begin transaction
36021
+ ------------------------------------------------------
36022
+ SmarterListingLoaderTest: test_helper_methods_included
36023
+ ------------------------------------------------------
36024
+  (0.1ms) rollback transaction
36025
+  (0.1ms) begin transaction
36026
+ ---------------------------------------------------------
36027
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
36028
+ ---------------------------------------------------------
36029
+  (0.1ms) rollback transaction
36030
+  (0.1ms) begin transaction
36031
+ --------------------------------------------------------
36032
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
36033
+ --------------------------------------------------------
36034
+  (0.1ms) rollback transaction
36035
+  (0.1ms) begin transaction
36036
+ -----------------------------------------------------------
36037
+ SmarterListingLoaderTest: test_the_default_filter_parameter
36038
+ -----------------------------------------------------------
36039
+  (0.1ms) rollback transaction
36040
+  (0.2ms) begin transaction
36041
+ Fixture Delete (0.2ms) DELETE FROM "listings"
36042
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:27:04', '2014-09-12 09:27:04', 980190962)
36043
+  (14.3ms) commit transaction
36044
+  (0.2ms) begin transaction
36045
+ -------------------------------------------
36046
+ ListingsControllerTest: test_correct_layout
36047
+ -------------------------------------------
36048
+ Listing Load (0.4ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36049
+ Processing by ListingsController#index as HTML
36050
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36051
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (1.2ms)
36052
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.3ms)
36053
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
36054
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.8ms)
36055
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.8ms)
36056
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (1.1ms)
36057
+ Rendered listings/_listing.html.erb (7.9ms)
36058
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (1.6ms)
36059
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36060
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (1.2ms)
36061
+ Rendered listings/_table_header.html.erb (30.4ms)
36062
+ Rendered listings/index.html.erb within layouts/default (45.5ms)
36063
+ Completed 200 OK in 61ms (Views: 56.5ms | ActiveRecord: 0.4ms)
36064
+  (0.1ms) rollback transaction
36065
+  (0.1ms) begin transaction
36066
+ --------------------------------------------------
36067
+ ListingsControllerTest: test_should_create_listing
36068
+ --------------------------------------------------
36069
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36070
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36071
+ Processing by ListingsController#create as JS
36072
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
36073
+ Unpermitted parameters: deleted_at
36074
+  (0.1ms) SAVEPOINT active_record_1
36075
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:27:04.618673"], ["name", "newName"], ["updated_at", "2014-09-12 09:27:04.618673"]]
36076
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36077
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.8ms)
36078
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.8ms)
36079
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (1.0ms)
36080
+ Rendered listings/_listing.html.erb (7.9ms)
36081
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (9.3ms)
36082
+ Completed 200 OK in 23ms (Views: 17.7ms | ActiveRecord: 0.4ms)
36083
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36084
+  (0.1ms) rollback transaction
36085
+  (0.1ms) begin transaction
36086
+ ---------------------------------------------------
36087
+ ListingsControllerTest: test_should_destroy_listing
36088
+ ---------------------------------------------------
36089
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36090
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36091
+ Processing by ListingsController#destroy as JS
36092
+ Parameters: {"id"=>"980190962"}
36093
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36094
+  (0.1ms) SAVEPOINT active_record_1
36095
+ SQL (0.2ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
36096
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36097
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.9ms)
36098
+ Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.4ms)
36099
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36100
+  (0.1ms) rollback transaction
36101
+  (0.1ms) begin transaction
36102
+ --------------------------------------------
36103
+ ListingsControllerTest: test_should_get_edit
36104
+ --------------------------------------------
36105
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36106
+ Processing by ListingsController#edit as JS
36107
+ Parameters: {"id"=>"980190962"}
36108
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36109
+ Completed 500 Internal Server Error in 5ms
36110
+  (0.1ms) rollback transaction
36111
+  (0.1ms) begin transaction
36112
+ ---------------------------------------------
36113
+ ListingsControllerTest: test_should_get_index
36114
+ ---------------------------------------------
36115
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36116
+ Processing by ListingsController#index as HTML
36117
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36118
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
36119
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.3ms)
36120
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
36121
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
36122
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
36123
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.6ms)
36124
+ Rendered listings/_listing.html.erb (3.5ms)
36125
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.8ms)
36126
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36127
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.5ms)
36128
+ Rendered listings/_table_header.html.erb (13.4ms)
36129
+ Completed 200 OK in 22ms (Views: 17.7ms | ActiveRecord: 0.5ms)
36130
+  (0.2ms) rollback transaction
36131
+  (0.1ms) begin transaction
36132
+ -------------------------------------------
36133
+ ListingsControllerTest: test_should_get_new
36134
+ -------------------------------------------
36135
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36136
+ Processing by ListingsController#new as JS
36137
+ Rendered listings/_form.html.erb (2.5ms)
36138
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (3.8ms)
36139
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.4ms)
36140
+ Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.0ms)
36141
+  (0.1ms) rollback transaction
36142
+  (0.1ms) begin transaction
36143
+ ---------------------------------------------------------------------
36144
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
36145
+ ---------------------------------------------------------------------
36146
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36147
+  (0.1ms) rollback transaction
36148
+  (0.2ms) begin transaction
36149
+ --------------------------------------------------
36150
+ ListingsControllerTest: test_should_update_listing
36151
+ --------------------------------------------------
36152
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36153
+ Processing by ListingsController#update as JS
36154
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
36155
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36156
+ Unpermitted parameters: deleted_at
36157
+  (0.1ms) SAVEPOINT active_record_1
36158
+ SQL (0.4ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:27:04.751254"]]
36159
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36160
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
36161
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
36162
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.6ms)
36163
+ Rendered listings/_listing.html.erb (3.2ms)
36164
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (4.3ms)
36165
+ Completed 200 OK in 16ms (Views: 10.3ms | ActiveRecord: 0.7ms)
36166
+  (0.2ms) rollback transaction
36167
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36168
+  (0.1ms) begin transaction
36169
+ Fixture Delete (0.1ms) DELETE FROM "listings"
36170
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:28:54', '2014-09-12 09:28:54', 980190962)
36171
+  (20.4ms) commit transaction
36172
+  (0.0ms) begin transaction
36173
+ -------------------------------------------
36174
+ ListingsControllerTest: test_correct_layout
36175
+ -------------------------------------------
36176
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36177
+ Processing by ListingsController#index as HTML
36178
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36179
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
36180
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
36181
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
36182
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
36183
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
36184
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
36185
+ Rendered listings/_listing.html.erb (3.3ms)
36186
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.6ms)
36187
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36188
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.4ms)
36189
+ Rendered listings/_table_header.html.erb (10.6ms)
36190
+ Rendered listings/index.html.erb within layouts/default (14.2ms)
36191
+ Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.2ms)
36192
+  (0.1ms) rollback transaction
36193
+  (0.0ms) begin transaction
36194
+ --------------------------------------------------
36195
+ ListingsControllerTest: test_should_create_listing
36196
+ --------------------------------------------------
36197
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36198
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36199
+ Processing by ListingsController#create as JS
36200
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
36201
+ Unpermitted parameters: deleted_at
36202
+  (0.0ms) SAVEPOINT active_record_1
36203
+ SQL (0.1ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:28:54.923599"], ["name", "newName"], ["updated_at", "2014-09-12 09:28:54.923599"]]
36204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36205
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
36206
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
36207
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
36208
+ Rendered listings/_listing.html.erb (4.0ms)
36209
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (4.6ms)
36210
+ Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.2ms)
36211
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36212
+  (0.1ms) rollback transaction
36213
+  (0.0ms) begin transaction
36214
+ ---------------------------------------------------
36215
+ ListingsControllerTest: test_should_destroy_listing
36216
+ ---------------------------------------------------
36217
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36218
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36219
+ Processing by ListingsController#destroy as JS
36220
+ Parameters: {"id"=>"980190962"}
36221
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36222
+  (0.0ms) SAVEPOINT active_record_1
36223
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
36224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36225
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.3ms)
36226
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)
36227
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36228
+  (0.1ms) rollback transaction
36229
+  (0.0ms) begin transaction
36230
+ --------------------------------------------
36231
+ ListingsControllerTest: test_should_get_edit
36232
+ --------------------------------------------
36233
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36234
+ Processing by ListingsController#edit as JS
36235
+ Parameters: {"id"=>"980190962"}
36236
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36237
+ Rendered listings/_form.html.erb (0.9ms)
36238
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (1.6ms)
36239
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
36240
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
36241
+  (0.0ms) rollback transaction
36242
+  (0.0ms) begin transaction
36243
+ ---------------------------------------------
36244
+ ListingsControllerTest: test_should_get_index
36245
+ ---------------------------------------------
36246
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36247
+ Processing by ListingsController#index as HTML
36248
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36249
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
36250
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
36251
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
36252
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
36253
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
36254
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
36255
+ Rendered listings/_listing.html.erb (0.7ms)
36256
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
36257
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36258
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
36259
+ Rendered listings/_table_header.html.erb (3.0ms)
36260
+ Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms)
36261
+  (0.1ms) rollback transaction
36262
+  (0.0ms) begin transaction
36263
+ -------------------------------------------
36264
+ ListingsControllerTest: test_should_get_new
36265
+ -------------------------------------------
36266
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36267
+ Processing by ListingsController#new as JS
36268
+ Rendered listings/_form.html.erb (0.4ms)
36269
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (0.8ms)
36270
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
36271
+ Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
36272
+  (0.1ms) rollback transaction
36273
+  (0.0ms) begin transaction
36274
+ ---------------------------------------------------------------------
36275
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
36276
+ ---------------------------------------------------------------------
36277
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36278
+  (0.0ms) rollback transaction
36279
+  (0.0ms) begin transaction
36280
+ --------------------------------------------------
36281
+ ListingsControllerTest: test_should_update_listing
36282
+ --------------------------------------------------
36283
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36284
+ Processing by ListingsController#update as JS
36285
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
36286
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36287
+ Unpermitted parameters: deleted_at
36288
+  (0.0ms) SAVEPOINT active_record_1
36289
+ SQL (0.1ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:28:54.975567"]]
36290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36291
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
36292
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
36293
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
36294
+ Rendered listings/_listing.html.erb (0.8ms)
36295
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.3ms)
36296
+ Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)
36297
+  (0.1ms) rollback transaction
36298
+  (0.0ms) begin transaction
36299
+ ---------------------------------------------------------------
36300
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
36301
+ ---------------------------------------------------------------
36302
+  (0.0ms) rollback transaction
36303
+  (0.0ms) begin transaction
36304
+ ------------------------------------------------------
36305
+ SmarterListingLoaderTest: test_helper_methods_included
36306
+ ------------------------------------------------------
36307
+  (0.0ms) rollback transaction
36308
+  (0.0ms) begin transaction
36309
+ ---------------------------------------------------------
36310
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
36311
+ ---------------------------------------------------------
36312
+  (0.0ms) rollback transaction
36313
+  (0.0ms) begin transaction
36314
+ --------------------------------------------------------
36315
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
36316
+ --------------------------------------------------------
36317
+  (0.0ms) rollback transaction
36318
+  (0.0ms) begin transaction
36319
+ -----------------------------------------------------------
36320
+ SmarterListingLoaderTest: test_the_default_filter_parameter
36321
+ -----------------------------------------------------------
36322
+  (0.0ms) rollback transaction
36323
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36324
+  (0.1ms) begin transaction
36325
+ ---------------------------------------------------------------
36326
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
36327
+ ---------------------------------------------------------------
36328
+  (0.1ms) rollback transaction
36329
+  (0.1ms) begin transaction
36330
+ ------------------------------------------------------
36331
+ SmarterListingLoaderTest: test_helper_methods_included
36332
+ ------------------------------------------------------
36333
+  (0.1ms) rollback transaction
36334
+  (0.1ms) begin transaction
36335
+ ---------------------------------------------------------
36336
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
36337
+ ---------------------------------------------------------
36338
+  (0.1ms) rollback transaction
36339
+  (0.1ms) begin transaction
36340
+ --------------------------------------------------------
36341
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
36342
+ --------------------------------------------------------
36343
+  (0.1ms) rollback transaction
36344
+  (0.1ms) begin transaction
36345
+ -----------------------------------------------------------
36346
+ SmarterListingLoaderTest: test_the_default_filter_parameter
36347
+ -----------------------------------------------------------
36348
+  (0.1ms) rollback transaction
36349
+  (0.1ms) begin transaction
36350
+ Fixture Delete (0.2ms) DELETE FROM "listings"
36351
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:28:59', '2014-09-12 09:28:59', 980190962)
36352
+  (15.0ms) commit transaction
36353
+  (0.1ms) begin transaction
36354
+ -------------------------------------------
36355
+ ListingsControllerTest: test_correct_layout
36356
+ -------------------------------------------
36357
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36358
+ Processing by ListingsController#index as HTML
36359
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36360
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (1.1ms)
36361
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.3ms)
36362
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
36363
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.8ms)
36364
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.8ms)
36365
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (1.0ms)
36366
+ Rendered listings/_listing.html.erb (7.6ms)
36367
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (1.7ms)
36368
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36369
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (2.0ms)
36370
+ Rendered listings/_table_header.html.erb (33.5ms)
36371
+ Rendered listings/index.html.erb within layouts/default (49.5ms)
36372
+ Completed 200 OK in 66ms (Views: 61.2ms | ActiveRecord: 0.4ms)
36373
+  (0.1ms) rollback transaction
36374
+  (0.1ms) begin transaction
36375
+ --------------------------------------------------
36376
+ ListingsControllerTest: test_should_create_listing
36377
+ --------------------------------------------------
36378
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36379
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36380
+ Processing by ListingsController#create as JS
36381
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
36382
+ Unpermitted parameters: deleted_at
36383
+  (0.1ms) SAVEPOINT active_record_1
36384
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:28:59.454350"], ["name", "newName"], ["updated_at", "2014-09-12 09:28:59.454350"]]
36385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36386
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.8ms)
36387
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.9ms)
36388
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.9ms)
36389
+ Rendered listings/_listing.html.erb (7.9ms)
36390
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (9.6ms)
36391
+ Completed 200 OK in 27ms (Views: 21.7ms | ActiveRecord: 0.4ms)
36392
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36393
+  (0.2ms) rollback transaction
36394
+  (0.1ms) begin transaction
36395
+ ---------------------------------------------------
36396
+ ListingsControllerTest: test_should_destroy_listing
36397
+ ---------------------------------------------------
36398
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36399
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36400
+ Processing by ListingsController#destroy as JS
36401
+ Parameters: {"id"=>"980190962"}
36402
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36403
+  (0.1ms) SAVEPOINT active_record_1
36404
+ SQL (0.2ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
36405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36406
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.8ms)
36407
+ Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.5ms)
36408
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36409
+  (0.2ms) rollback transaction
36410
+  (0.1ms) begin transaction
36411
+ --------------------------------------------
36412
+ ListingsControllerTest: test_should_get_edit
36413
+ --------------------------------------------
36414
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36415
+ Processing by ListingsController#edit as JS
36416
+ Parameters: {"id"=>"980190962"}
36417
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36418
+  (0.1ms) begin transaction
36419
+ ---------------------------------------------------------------
36420
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
36421
+ ---------------------------------------------------------------
36422
+  (0.0ms) rollback transaction
36423
+  (0.0ms) begin transaction
36424
+ ------------------------------------------------------
36425
+ SmarterListingLoaderTest: test_helper_methods_included
36426
+ ------------------------------------------------------
36427
+  (0.0ms) rollback transaction
36428
+  (0.0ms) begin transaction
36429
+ ---------------------------------------------------------
36430
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
36431
+ ---------------------------------------------------------
36432
+  (0.0ms) rollback transaction
36433
+  (0.0ms) begin transaction
36434
+ --------------------------------------------------------
36435
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
36436
+ --------------------------------------------------------
36437
+  (0.0ms) rollback transaction
36438
+  (0.0ms) begin transaction
36439
+ -----------------------------------------------------------
36440
+ SmarterListingLoaderTest: test_the_default_filter_parameter
36441
+ -----------------------------------------------------------
36442
+  (0.0ms) rollback transaction
36443
+  (0.0ms) begin transaction
36444
+ Fixture Delete (0.1ms) DELETE FROM "listings"
36445
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:29:02', '2014-09-12 09:29:02', 980190962)
36446
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36447
+ Rendered listings/_form.html.erb (3.3ms)
36448
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (4.9ms)
36449
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.5ms)
36450
+ Completed 200 OK in 4448ms (Views: 16.6ms | ActiveRecord: 0.1ms)
36451
+  (0.1ms) rollback transaction
36452
+  (0.2ms) begin transaction
36453
+ ---------------------------------------------
36454
+ ListingsControllerTest: test_should_get_index
36455
+ ---------------------------------------------
36456
+  (1644.0ms) commit transaction
36457
+  (0.1ms) begin transaction
36458
+ -------------------------------------------
36459
+ ListingsControllerTest: test_correct_layout
36460
+ -------------------------------------------
36461
+ Listing Load (33.6ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36462
+ Listing Load (0.3ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36463
+ Processing by ListingsController#index as HTML
36464
+ Processing by ListingsController#index as HTML
36465
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36466
+  (0.2ms) SELECT COUNT(*) FROM "listings"
36467
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.7ms)
36468
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
36469
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
36470
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.5ms)
36471
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.5ms)
36472
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
36473
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.5ms)
36474
+ Rendered listings/_listing.html.erb (4.3ms)
36475
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
36476
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.8ms)
36477
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
36478
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36479
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.5ms)
36480
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
36481
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.5ms)
36482
+ Rendered listings/_table_header.html.erb (13.6ms)
36483
+ Rendered listings/index.html.erb within layouts/default (18.2ms)
36484
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.6ms)
36485
+ Rendered listings/_listing.html.erb (3.6ms)
36486
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.9ms)
36487
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36488
+ Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 0.3ms)
36489
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.5ms)
36490
+ Rendered listings/_table_header.html.erb (15.8ms)
36491
+ Completed 200 OK in 29ms (Views: 22.7ms | ActiveRecord: 0.5ms)
36492
+  (0.1ms) rollback transaction
36493
+  (0.0ms) begin transaction
36494
+ --------------------------------------------------
36495
+ ListingsControllerTest: test_should_create_listing
36496
+ --------------------------------------------------
36497
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36498
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36499
+ Processing by ListingsController#create as JS
36500
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
36501
+ Unpermitted parameters: deleted_at
36502
+  (0.0ms) SAVEPOINT active_record_1
36503
+ SQL (0.1ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:29:04.043003"], ["name", "newName"], ["updated_at", "2014-09-12 09:29:04.043003"]]
36504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36505
+  (0.1ms) rollback transaction
36506
+  (0.1ms) begin transaction
36507
+ -------------------------------------------
36508
+ ListingsControllerTest: test_should_get_new
36509
+ -------------------------------------------
36510
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36511
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.5ms)
36512
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
36513
+ Processing by ListingsController#new as JS
36514
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.6ms)
36515
+ Rendered listings/_listing.html.erb (11.2ms)
36516
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (12.0ms)
36517
+ Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.2ms)
36518
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36519
+  (0.1ms) rollback transaction
36520
+  (0.0ms) begin transaction
36521
+ ---------------------------------------------------
36522
+ ListingsControllerTest: test_should_destroy_listing
36523
+ ---------------------------------------------------
36524
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36525
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36526
+ Processing by ListingsController#destroy as JS
36527
+ Parameters: {"id"=>"980190962"}
36528
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36529
+  (0.0ms) SAVEPOINT active_record_1
36530
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
36531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36532
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.3ms)
36533
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
36534
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36535
+  (0.1ms) rollback transaction
36536
+  (0.0ms) begin transaction
36537
+ --------------------------------------------
36538
+ ListingsControllerTest: test_should_get_edit
36539
+ --------------------------------------------
36540
+ Rendered listings/_form.html.erb (1.8ms)
36541
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36542
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (2.9ms)
36543
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.1ms)
36544
+ Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms)
36545
+ Processing by ListingsController#edit as JS
36546
+ Parameters: {"id"=>"980190962"}
36547
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36548
+  (0.1ms) rollback transaction
36549
+  (0.1ms) begin transaction
36550
+ ---------------------------------------------------------------------
36551
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
36552
+ ---------------------------------------------------------------------
36553
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36554
+ Rendered listings/_form.html.erb (1.3ms)
36555
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (2.2ms)
36556
+  (0.1ms) rollback transaction
36557
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
36558
+ Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)
36559
+  (0.1ms) begin transaction
36560
+ --------------------------------------------------
36561
+ ListingsControllerTest: test_should_update_listing
36562
+ --------------------------------------------------
36563
+  (0.1ms) rollback transaction
36564
+  (0.0ms) begin transaction
36565
+ ---------------------------------------------
36566
+ ListingsControllerTest: test_should_get_index
36567
+ ---------------------------------------------
36568
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36569
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36570
+ Processing by ListingsController#index as HTML
36571
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36572
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
36573
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
36574
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
36575
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
36576
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
36577
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
36578
+ Rendered listings/_listing.html.erb (0.7ms)
36579
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
36580
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36581
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
36582
+ Rendered listings/_table_header.html.erb (3.1ms)
36583
+ Processing by ListingsController#update as JS
36584
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
36585
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.2ms)
36586
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36587
+ Unpermitted parameters: deleted_at
36588
+  (0.1ms) SAVEPOINT active_record_1
36589
+  (0.1ms) rollback transaction
36590
+  (0.0ms) begin transaction
36591
+ -------------------------------------------
36592
+ ListingsControllerTest: test_should_get_new
36593
+ -------------------------------------------
36594
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36595
+ Processing by ListingsController#new as JS
36596
+ SQL (0.2ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:29:04.089185"]]
36597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36598
+ Rendered listings/_form.html.erb (0.4ms)
36599
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (0.9ms)
36600
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
36601
+ Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
36602
+  (0.0ms) rollback transaction
36603
+  (0.0ms) begin transaction
36604
+ ---------------------------------------------------------------------
36605
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
36606
+ ---------------------------------------------------------------------
36607
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36608
+  (0.0ms) rollback transaction
36609
+  (0.0ms) begin transaction
36610
+ --------------------------------------------------
36611
+ ListingsControllerTest: test_should_update_listing
36612
+ --------------------------------------------------
36613
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36614
+ Processing by ListingsController#update as JS
36615
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
36616
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36617
+ Unpermitted parameters: deleted_at
36618
+  (0.0ms) SAVEPOINT active_record_1
36619
+ SQL (0.2ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:29:04.100044"]]
36620
+ SQLite3::BusyException: database is locked: UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962
36621
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.6ms)
36622
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
36623
+ Completed 500 Internal Server Error in 2ms
36624
+  (0.0ms) rollback transaction
36625
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.6ms)
36626
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.7ms)
36627
+ Rendered listings/_listing.html.erb (4.1ms)
36628
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (5.3ms)
36629
+ Completed 200 OK in 18ms (Views: 12.1ms | ActiveRecord: 0.5ms)
36630
+  (0.2ms) rollback transaction
36631
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36632
+  (0.1ms) begin transaction
36633
+ ---------------------------------------------------------------
36634
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
36635
+ ---------------------------------------------------------------
36636
+  (0.1ms) rollback transaction
36637
+  (0.1ms) begin transaction
36638
+ ------------------------------------------------------
36639
+ SmarterListingLoaderTest: test_helper_methods_included
36640
+ ------------------------------------------------------
36641
+  (0.1ms) rollback transaction
36642
+  (0.0ms) begin transaction
36643
+ ---------------------------------------------------------
36644
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
36645
+ ---------------------------------------------------------
36646
+  (0.0ms) rollback transaction
36647
+  (0.1ms) begin transaction
36648
+ --------------------------------------------------------
36649
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
36650
+ --------------------------------------------------------
36651
+  (0.0ms) rollback transaction
36652
+  (0.0ms) begin transaction
36653
+ -----------------------------------------------------------
36654
+ SmarterListingLoaderTest: test_the_default_filter_parameter
36655
+ -----------------------------------------------------------
36656
+  (0.0ms) rollback transaction
36657
+  (0.0ms) begin transaction
36658
+ Fixture Delete (0.2ms) DELETE FROM "listings"
36659
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:29:15', '2014-09-12 09:29:15', 980190962)
36660
+  (14.8ms) commit transaction
36661
+  (0.0ms) begin transaction
36662
+ -------------------------------------------
36663
+ ListingsControllerTest: test_correct_layout
36664
+ -------------------------------------------
36665
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36666
+ Processing by ListingsController#index as HTML
36667
+ Rendered listings/index.html.erb within layouts/default (3.7ms)
36668
+ Completed 500 Internal Server Error in 5ms
36669
+  (0.1ms) rollback transaction
36670
+  (0.0ms) begin transaction
36671
+ --------------------------------------------------
36672
+ ListingsControllerTest: test_should_create_listing
36673
+ --------------------------------------------------
36674
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36675
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36676
+  (0.1ms) rollback transaction
36677
+  (0.0ms) begin transaction
36678
+ ---------------------------------------------------
36679
+ ListingsControllerTest: test_should_destroy_listing
36680
+ ---------------------------------------------------
36681
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36682
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36683
+  (0.1ms) rollback transaction
36684
+  (0.0ms) begin transaction
36685
+ --------------------------------------------
36686
+ ListingsControllerTest: test_should_get_edit
36687
+ --------------------------------------------
36688
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36689
+ Processing by ListingsController#edit as JS
36690
+ Parameters: {"id"=>"980190962"}
36691
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36692
+ Rendered listings/_form.html.erb (1.1ms)
36693
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (2.0ms)
36694
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
36695
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
36696
+  (0.1ms) rollback transaction
36697
+  (0.0ms) begin transaction
36698
+ ---------------------------------------------
36699
+ ListingsControllerTest: test_should_get_index
36700
+ ---------------------------------------------
36701
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36702
+ Processing by ListingsController#index as HTML
36703
+ Completed 500 Internal Server Error in 2ms
36704
+  (0.0ms) rollback transaction
36705
+  (0.0ms) begin transaction
36706
+ -------------------------------------------
36707
+ ListingsControllerTest: test_should_get_new
36708
+ -------------------------------------------
36709
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36710
+  (0.1ms) rollback transaction
36711
+  (0.0ms) begin transaction
36712
+ ---------------------------------------------------------------------
36713
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
36714
+ ---------------------------------------------------------------------
36715
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36716
+  (0.0ms) rollback transaction
36717
+  (0.0ms) begin transaction
36718
+ --------------------------------------------------
36719
+ ListingsControllerTest: test_should_update_listing
36720
+ --------------------------------------------------
36721
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36722
+  (0.1ms) rollback transaction
36723
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36724
+  (0.1ms) begin transaction
36725
+ Fixture Delete (0.1ms) DELETE FROM "listings"
36726
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:29:17', '2014-09-12 09:29:17', 980190962)
36727
+  (14.9ms) commit transaction
36728
+  (0.0ms) begin transaction
36729
+ -------------------------------------------
36730
+ ListingsControllerTest: test_correct_layout
36731
+ -------------------------------------------
36732
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36733
+ Processing by ListingsController#index as HTML
36734
+ Rendered listings/index.html.erb within layouts/default (3.5ms)
36735
+ Completed 500 Internal Server Error in 5ms
36736
+  (0.1ms) rollback transaction
36737
+  (0.0ms) begin transaction
36738
+ --------------------------------------------------
36739
+ ListingsControllerTest: test_should_create_listing
36740
+ --------------------------------------------------
36741
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36742
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36743
+  (0.1ms) rollback transaction
36744
+  (0.0ms) begin transaction
36745
+ ---------------------------------------------------
36746
+ ListingsControllerTest: test_should_destroy_listing
36747
+ ---------------------------------------------------
36748
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36749
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36750
+  (0.1ms) rollback transaction
36751
+  (0.0ms) begin transaction
36752
+ --------------------------------------------
36753
+ ListingsControllerTest: test_should_get_edit
36754
+ --------------------------------------------
36755
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36756
+ Processing by ListingsController#edit as JS
36757
+ Parameters: {"id"=>"980190962"}
36758
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36759
+ Rendered listings/_form.html.erb (1.2ms)
36760
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (1.9ms)
36761
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
36762
+ Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)
36763
+  (0.1ms) rollback transaction
36764
+  (0.0ms) begin transaction
36765
+ ---------------------------------------------
36766
+ ListingsControllerTest: test_should_get_index
36767
+ ---------------------------------------------
36768
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36769
+ Processing by ListingsController#index as HTML
36770
+ Completed 500 Internal Server Error in 1ms
36771
+  (0.0ms) rollback transaction
36772
+  (0.1ms) begin transaction
36773
+ -------------------------------------------
36774
+ ListingsControllerTest: test_should_get_new
36775
+ -------------------------------------------
36776
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36777
+  (0.1ms) rollback transaction
36778
+  (0.0ms) begin transaction
36779
+ ---------------------------------------------------------------------
36780
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
36781
+ ---------------------------------------------------------------------
36782
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36783
+  (0.0ms) rollback transaction
36784
+  (0.0ms) begin transaction
36785
+ --------------------------------------------------
36786
+ ListingsControllerTest: test_should_update_listing
36787
+ --------------------------------------------------
36788
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36789
+  (0.1ms) rollback transaction
36790
+  (0.0ms) begin transaction
36791
+ ---------------------------------------------------------------
36792
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
36793
+ ---------------------------------------------------------------
36794
+  (0.0ms) rollback transaction
36795
+  (0.0ms) begin transaction
36796
+ ------------------------------------------------------
36797
+ SmarterListingLoaderTest: test_helper_methods_included
36798
+ ------------------------------------------------------
36799
+  (0.0ms) rollback transaction
36800
+  (0.0ms) begin transaction
36801
+ ---------------------------------------------------------
36802
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
36803
+ ---------------------------------------------------------
36804
+  (0.0ms) rollback transaction
36805
+  (0.0ms) begin transaction
36806
+ --------------------------------------------------------
36807
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
36808
+ --------------------------------------------------------
36809
+  (0.0ms) rollback transaction
36810
+  (5.5ms) begin transaction
36811
+ -----------------------------------------------------------
36812
+ SmarterListingLoaderTest: test_the_default_filter_parameter
36813
+ -----------------------------------------------------------
36814
+  (0.0ms) rollback transaction
36815
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36816
+  (0.1ms) begin transaction
36817
+ Fixture Delete (0.2ms) DELETE FROM "listings"
36818
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:29:21', '2014-09-12 09:29:21', 980190962)
36819
+  (20.4ms) commit transaction
36820
+  (0.1ms) begin transaction
36821
+ -------------------------------------------
36822
+ ListingsControllerTest: test_correct_layout
36823
+ -------------------------------------------
36824
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36825
+ Processing by ListingsController#index as HTML
36826
+ Rendered listings/index.html.erb within layouts/default (4.0ms)
36827
+ Completed 500 Internal Server Error in 5ms
36828
+  (0.1ms) rollback transaction
36829
+  (0.0ms) begin transaction
36830
+ --------------------------------------------------
36831
+ ListingsControllerTest: test_should_create_listing
36832
+ --------------------------------------------------
36833
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36834
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36835
+  (0.1ms) rollback transaction
36836
+  (0.0ms) begin transaction
36837
+ ---------------------------------------------------
36838
+ ListingsControllerTest: test_should_destroy_listing
36839
+ ---------------------------------------------------
36840
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36841
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36842
+  (0.1ms) rollback transaction
36843
+  (0.1ms) begin transaction
36844
+ --------------------------------------------
36845
+ ListingsControllerTest: test_should_get_edit
36846
+ --------------------------------------------
36847
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36848
+ Processing by ListingsController#edit as JS
36849
+ Parameters: {"id"=>"980190962"}
36850
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36851
+ Rendered listings/_form.html.erb (1.3ms)
36852
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (2.3ms)
36853
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
36854
+ Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
36855
+  (0.1ms) rollback transaction
36856
+  (0.0ms) begin transaction
36857
+ ---------------------------------------------
36858
+ ListingsControllerTest: test_should_get_index
36859
+ ---------------------------------------------
36860
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36861
+ Processing by ListingsController#index as HTML
36862
+ Completed 500 Internal Server Error in 1ms
36863
+  (0.1ms) rollback transaction
36864
+  (0.0ms) begin transaction
36865
+ -------------------------------------------
36866
+ ListingsControllerTest: test_should_get_new
36867
+ -------------------------------------------
36868
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36869
+  (0.2ms) rollback transaction
36870
+  (0.0ms) begin transaction
36871
+ ---------------------------------------------------------------------
36872
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
36873
+ ---------------------------------------------------------------------
36874
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36875
+  (0.0ms) rollback transaction
36876
+  (0.0ms) begin transaction
36877
+ --------------------------------------------------
36878
+ ListingsControllerTest: test_should_update_listing
36879
+ --------------------------------------------------
36880
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36881
+  (0.1ms) rollback transaction
36882
+  (0.1ms) begin transaction
36883
+ ---------------------------------------------------------------
36884
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
36885
+ ---------------------------------------------------------------
36886
+  (0.1ms) rollback transaction
36887
+  (0.0ms) begin transaction
36888
+ ------------------------------------------------------
36889
+ SmarterListingLoaderTest: test_helper_methods_included
36890
+ ------------------------------------------------------
36891
+  (0.1ms) rollback transaction
36892
+  (0.0ms) begin transaction
36893
+ ---------------------------------------------------------
36894
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
36895
+ ---------------------------------------------------------
36896
+  (0.0ms) rollback transaction
36897
+  (0.0ms) begin transaction
36898
+ --------------------------------------------------------
36899
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
36900
+ --------------------------------------------------------
36901
+  (0.0ms) rollback transaction
36902
+  (0.0ms) begin transaction
36903
+ -----------------------------------------------------------
36904
+ SmarterListingLoaderTest: test_the_default_filter_parameter
36905
+ -----------------------------------------------------------
36906
+  (0.0ms) rollback transaction
36907
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36908
+  (0.1ms) begin transaction
36909
+ ---------------------------------------------------------------
36910
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
36911
+ ---------------------------------------------------------------
36912
+  (0.1ms) rollback transaction
36913
+  (0.1ms) begin transaction
36914
+ ------------------------------------------------------
36915
+ SmarterListingLoaderTest: test_helper_methods_included
36916
+ ------------------------------------------------------
36917
+  (0.1ms) rollback transaction
36918
+  (0.1ms) begin transaction
36919
+ ---------------------------------------------------------
36920
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
36921
+ ---------------------------------------------------------
36922
+  (0.1ms) rollback transaction
36923
+  (0.0ms) begin transaction
36924
+ --------------------------------------------------------
36925
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
36926
+ --------------------------------------------------------
36927
+  (0.0ms) rollback transaction
36928
+  (0.0ms) begin transaction
36929
+ -----------------------------------------------------------
36930
+ SmarterListingLoaderTest: test_the_default_filter_parameter
36931
+ -----------------------------------------------------------
36932
+  (0.1ms) rollback transaction
36933
+  (0.0ms) begin transaction
36934
+ Fixture Delete (0.1ms) DELETE FROM "listings"
36935
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:29:26', '2014-09-12 09:29:26', 980190962)
36936
+  (17.6ms) commit transaction
36937
+  (0.0ms) begin transaction
36938
+ -------------------------------------------
36939
+ ListingsControllerTest: test_correct_layout
36940
+ -------------------------------------------
36941
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36942
+ Processing by ListingsController#index as HTML
36943
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36944
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
36945
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
36946
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
36947
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
36948
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
36949
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
36950
+ Rendered listings/_listing.html.erb (3.3ms)
36951
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.6ms)
36952
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36953
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.4ms)
36954
+ Rendered listings/_table_header.html.erb (10.3ms)
36955
+ Rendered listings/index.html.erb within layouts/default (14.1ms)
36956
+ Completed 200 OK in 21ms (Views: 19.0ms | ActiveRecord: 0.3ms)
36957
+  (0.0ms) rollback transaction
36958
+  (0.0ms) begin transaction
36959
+ --------------------------------------------------
36960
+ ListingsControllerTest: test_should_create_listing
36961
+ --------------------------------------------------
36962
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36963
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36964
+ Processing by ListingsController#create as JS
36965
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
36966
+ Unpermitted parameters: deleted_at
36967
+  (0.0ms) SAVEPOINT active_record_1
36968
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:29:26.389797"], ["name", "newName"], ["updated_at", "2014-09-12 09:29:26.389797"]]
36969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36970
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.5ms)
36971
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
36972
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
36973
+ Rendered listings/_listing.html.erb (9.2ms)
36974
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (9.9ms)
36975
+ Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.2ms)
36976
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36977
+  (0.1ms) rollback transaction
36978
+  (0.0ms) begin transaction
36979
+ ---------------------------------------------------
36980
+ ListingsControllerTest: test_should_destroy_listing
36981
+ ---------------------------------------------------
36982
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36983
+  (0.0ms) SELECT COUNT(*) FROM "listings"
36984
+ Processing by ListingsController#destroy as JS
36985
+ Parameters: {"id"=>"980190962"}
36986
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36987
+  (0.0ms) SAVEPOINT active_record_1
36988
+ SQL (0.2ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
36989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36990
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.3ms)
36991
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
36992
+  (0.1ms) SELECT COUNT(*) FROM "listings"
36993
+  (0.1ms) rollback transaction
36994
+  (0.0ms) begin transaction
36995
+ --------------------------------------------
36996
+ ListingsControllerTest: test_should_get_edit
36997
+ --------------------------------------------
36998
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
36999
+ Processing by ListingsController#edit as JS
37000
+ Parameters: {"id"=>"980190962"}
37001
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37002
+ Completed 500 Internal Server Error in 3ms
37003
+  (0.1ms) rollback transaction
37004
+  (0.0ms) begin transaction
37005
+ ---------------------------------------------
37006
+ ListingsControllerTest: test_should_get_index
37007
+ ---------------------------------------------
37008
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37009
+ Processing by ListingsController#index as HTML
37010
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37011
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37012
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37013
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37014
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
37015
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
37016
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
37017
+ Rendered listings/_listing.html.erb (0.8ms)
37018
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
37019
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37020
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
37021
+ Rendered listings/_table_header.html.erb (3.3ms)
37022
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms)
37023
+  (0.1ms) rollback transaction
37024
+  (0.0ms) begin transaction
37025
+ -------------------------------------------
37026
+ ListingsControllerTest: test_should_get_new
37027
+ -------------------------------------------
37028
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37029
+ Processing by ListingsController#new as JS
37030
+ Rendered listings/_form.html.erb (1.1ms)
37031
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (1.9ms)
37032
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
37033
+ Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
37034
+  (0.1ms) rollback transaction
37035
+  (0.0ms) begin transaction
37036
+ ---------------------------------------------------------------------
37037
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
37038
+ ---------------------------------------------------------------------
37039
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37040
+  (0.0ms) rollback transaction
37041
+  (0.0ms) begin transaction
37042
+ --------------------------------------------------
37043
+ ListingsControllerTest: test_should_update_listing
37044
+ --------------------------------------------------
37045
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37046
+ Processing by ListingsController#update as JS
37047
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
37048
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37049
+ Unpermitted parameters: deleted_at
37050
+  (0.0ms) SAVEPOINT active_record_1
37051
+ SQL (0.1ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:29:26.444551"]]
37052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37053
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.2ms)
37054
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.2ms)
37055
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
37056
+ Rendered listings/_listing.html.erb (1.0ms)
37057
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.5ms)
37058
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.2ms)
37059
+  (0.1ms) rollback transaction
37060
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37061
+  (0.1ms) begin transaction
37062
+ Fixture Delete (0.1ms) DELETE FROM "listings"
37063
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:29:40', '2014-09-12 09:29:40', 980190962)
37064
+  (20.6ms) commit transaction
37065
+  (0.1ms) begin transaction
37066
+ -------------------------------------------
37067
+ ListingsControllerTest: test_correct_layout
37068
+ -------------------------------------------
37069
+ Listing Load (0.2ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37070
+ Processing by ListingsController#index as HTML
37071
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37072
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.5ms)
37073
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37074
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37075
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.6ms)
37076
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
37077
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.5ms)
37078
+ Rendered listings/_listing.html.erb (4.0ms)
37079
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.9ms)
37080
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37081
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.7ms)
37082
+ Rendered listings/_table_header.html.erb (12.8ms)
37083
+ Rendered listings/index.html.erb within layouts/default (16.8ms)
37084
+ Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.3ms)
37085
+  (0.1ms) rollback transaction
37086
+  (0.0ms) begin transaction
37087
+ --------------------------------------------------
37088
+ ListingsControllerTest: test_should_create_listing
37089
+ --------------------------------------------------
37090
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37091
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37092
+ Processing by ListingsController#create as JS
37093
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
37094
+ Unpermitted parameters: deleted_at
37095
+  (0.0ms) SAVEPOINT active_record_1
37096
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:29:40.728145"], ["name", "newName"], ["updated_at", "2014-09-12 09:29:40.728145"]]
37097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37098
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
37099
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
37100
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
37101
+ Rendered listings/_listing.html.erb (4.4ms)
37102
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (5.1ms)
37103
+ Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.2ms)
37104
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37105
+  (0.1ms) rollback transaction
37106
+  (0.0ms) begin transaction
37107
+ ---------------------------------------------------
37108
+ ListingsControllerTest: test_should_destroy_listing
37109
+ ---------------------------------------------------
37110
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37111
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37112
+ Processing by ListingsController#destroy as JS
37113
+ Parameters: {"id"=>"980190962"}
37114
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37115
+  (0.0ms) SAVEPOINT active_record_1
37116
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
37117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37118
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.3ms)
37119
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
37120
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37121
+  (0.1ms) rollback transaction
37122
+  (0.0ms) begin transaction
37123
+ --------------------------------------------
37124
+ ListingsControllerTest: test_should_get_edit
37125
+ --------------------------------------------
37126
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37127
+ Processing by ListingsController#edit as JS
37128
+ Parameters: {"id"=>"980190962"}
37129
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37130
+ Completed 500 Internal Server Error in 3ms
37131
+  (0.0ms) rollback transaction
37132
+  (0.1ms) begin transaction
37133
+ ---------------------------------------------
37134
+ ListingsControllerTest: test_should_get_index
37135
+ ---------------------------------------------
37136
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37137
+ Processing by ListingsController#index as HTML
37138
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37139
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.2ms)
37140
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37141
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37142
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
37143
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.2ms)
37144
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
37145
+ Rendered listings/_listing.html.erb (0.9ms)
37146
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
37147
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37148
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
37149
+ Rendered listings/_table_header.html.erb (3.9ms)
37150
+ Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.2ms)
37151
+  (0.1ms) rollback transaction
37152
+  (0.0ms) begin transaction
37153
+ -------------------------------------------
37154
+ ListingsControllerTest: test_should_get_new
37155
+ -------------------------------------------
37156
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37157
+ Processing by ListingsController#new as JS
37158
+ Rendered listings/_form.html.erb (1.0ms)
37159
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (1.9ms)
37160
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
37161
+ Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
37162
+  (0.1ms) rollback transaction
37163
+  (0.1ms) begin transaction
37164
+ ---------------------------------------------------------------------
37165
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
37166
+ ---------------------------------------------------------------------
37167
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37168
+  (0.1ms) rollback transaction
37169
+  (0.0ms) begin transaction
37170
+ --------------------------------------------------
37171
+ ListingsControllerTest: test_should_update_listing
37172
+ --------------------------------------------------
37173
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37174
+ Processing by ListingsController#update as JS
37175
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
37176
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37177
+ Unpermitted parameters: deleted_at
37178
+  (0.0ms) SAVEPOINT active_record_1
37179
+ SQL (0.1ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:29:40.787304"]]
37180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37181
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
37182
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
37183
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
37184
+ Rendered listings/_listing.html.erb (1.0ms)
37185
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.7ms)
37186
+ Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms)
37187
+  (0.1ms) rollback transaction
37188
+  (0.0ms) begin transaction
37189
+ ---------------------------------------------------------------
37190
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
37191
+ ---------------------------------------------------------------
37192
+  (0.0ms) rollback transaction
37193
+  (0.0ms) begin transaction
37194
+ ------------------------------------------------------
37195
+ SmarterListingLoaderTest: test_helper_methods_included
37196
+ ------------------------------------------------------
37197
+  (0.1ms) rollback transaction
37198
+  (0.0ms) begin transaction
37199
+ ---------------------------------------------------------
37200
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
37201
+ ---------------------------------------------------------
37202
+  (0.0ms) rollback transaction
37203
+  (0.0ms) begin transaction
37204
+ --------------------------------------------------------
37205
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
37206
+ --------------------------------------------------------
37207
+  (0.0ms) rollback transaction
37208
+  (0.0ms) begin transaction
37209
+ -----------------------------------------------------------
37210
+ SmarterListingLoaderTest: test_the_default_filter_parameter
37211
+ -----------------------------------------------------------
37212
+  (0.0ms) rollback transaction
37213
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37214
+  (0.1ms) begin transaction
37215
+ ---------------------------------------------------------------
37216
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
37217
+ ---------------------------------------------------------------
37218
+  (0.0ms) rollback transaction
37219
+  (0.0ms) begin transaction
37220
+ ------------------------------------------------------
37221
+ SmarterListingLoaderTest: test_helper_methods_included
37222
+ ------------------------------------------------------
37223
+  (0.0ms) rollback transaction
37224
+  (0.0ms) begin transaction
37225
+ ---------------------------------------------------------
37226
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
37227
+ ---------------------------------------------------------
37228
+  (0.0ms) rollback transaction
37229
+  (0.0ms) begin transaction
37230
+ --------------------------------------------------------
37231
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
37232
+ --------------------------------------------------------
37233
+  (0.0ms) rollback transaction
37234
+  (0.0ms) begin transaction
37235
+ -----------------------------------------------------------
37236
+ SmarterListingLoaderTest: test_the_default_filter_parameter
37237
+ -----------------------------------------------------------
37238
+  (0.0ms) rollback transaction
37239
+  (0.0ms) begin transaction
37240
+ Fixture Delete (0.1ms) DELETE FROM "listings"
37241
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:30:09', '2014-09-12 09:30:09', 980190962)
37242
+  (13.3ms) commit transaction
37243
+  (0.0ms) begin transaction
37244
+ -------------------------------------------
37245
+ ListingsControllerTest: test_correct_layout
37246
+ -------------------------------------------
37247
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37248
+ Processing by ListingsController#index as HTML
37249
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37250
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
37251
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37252
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37253
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
37254
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
37255
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.7ms)
37256
+ Rendered listings/_listing.html.erb (4.0ms)
37257
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.9ms)
37258
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37259
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.7ms)
37260
+ Rendered listings/_table_header.html.erb (13.2ms)
37261
+ Rendered listings/index.html.erb within layouts/default (17.2ms)
37262
+ Completed 200 OK in 26ms (Views: 23.9ms | ActiveRecord: 0.2ms)
37263
+  (0.1ms) rollback transaction
37264
+  (0.0ms) begin transaction
37265
+ --------------------------------------------------
37266
+ ListingsControllerTest: test_should_create_listing
37267
+ --------------------------------------------------
37268
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37269
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37270
+ Processing by ListingsController#create as JS
37271
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
37272
+ Unpermitted parameters: deleted_at
37273
+  (0.0ms) SAVEPOINT active_record_1
37274
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:30:09.797378"], ["name", "newName"], ["updated_at", "2014-09-12 09:30:09.797378"]]
37275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37276
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
37277
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
37278
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
37279
+ Rendered listings/_listing.html.erb (9.8ms)
37280
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (10.5ms)
37281
+ Completed 200 OK in 18ms (Views: 15.5ms | ActiveRecord: 0.3ms)
37282
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37283
+  (0.1ms) rollback transaction
37284
+  (0.0ms) begin transaction
37285
+ ---------------------------------------------------
37286
+ ListingsControllerTest: test_should_destroy_listing
37287
+ ---------------------------------------------------
37288
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37289
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37290
+ Processing by ListingsController#destroy as JS
37291
+ Parameters: {"id"=>"980190962"}
37292
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37293
+  (0.0ms) SAVEPOINT active_record_1
37294
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
37295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37296
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.4ms)
37297
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
37298
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37299
+  (0.1ms) rollback transaction
37300
+  (0.0ms) begin transaction
37301
+ --------------------------------------------
37302
+ ListingsControllerTest: test_should_get_edit
37303
+ --------------------------------------------
37304
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37305
+ Processing by ListingsController#edit as JS
37306
+ Parameters: {"id"=>"980190962"}
37307
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37308
+ Completed 500 Internal Server Error in 4ms
37309
+  (0.0ms) rollback transaction
37310
+  (0.0ms) begin transaction
37311
+ ---------------------------------------------
37312
+ ListingsControllerTest: test_should_get_index
37313
+ ---------------------------------------------
37314
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37315
+ Processing by ListingsController#index as HTML
37316
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37317
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37318
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37319
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37320
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
37321
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
37322
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.3ms)
37323
+ Rendered listings/_listing.html.erb (1.0ms)
37324
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
37325
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37326
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
37327
+ Rendered listings/_table_header.html.erb (3.5ms)
37328
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.3ms)
37329
+  (0.1ms) rollback transaction
37330
+  (0.0ms) begin transaction
37331
+ -------------------------------------------
37332
+ ListingsControllerTest: test_should_get_new
37333
+ -------------------------------------------
37334
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37335
+ Processing by ListingsController#new as JS
37336
+ Rendered listings/_form.html.erb (1.7ms)
37337
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (2.9ms)
37338
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
37339
+ Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
37340
+  (0.1ms) rollback transaction
37341
+  (0.1ms) begin transaction
37342
+ ---------------------------------------------------------------------
37343
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
37344
+ ---------------------------------------------------------------------
37345
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37346
+  (0.0ms) rollback transaction
37347
+  (0.0ms) begin transaction
37348
+ --------------------------------------------------
37349
+ ListingsControllerTest: test_should_update_listing
37350
+ --------------------------------------------------
37351
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37352
+ Processing by ListingsController#update as JS
37353
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
37354
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37355
+ Unpermitted parameters: deleted_at
37356
+  (0.1ms) SAVEPOINT active_record_1
37357
+ SQL (0.1ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:30:09.859195"]]
37358
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37359
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
37360
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.2ms)
37361
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
37362
+ Rendered listings/_listing.html.erb (1.0ms)
37363
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.5ms)
37364
+ Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.3ms)
37365
+  (0.1ms) rollback transaction
37366
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37367
+  (0.1ms) begin transaction
37368
+ ---------------------------------------------------------------
37369
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
37370
+ ---------------------------------------------------------------
37371
+  (0.0ms) rollback transaction
37372
+  (0.0ms) begin transaction
37373
+ ------------------------------------------------------
37374
+ SmarterListingLoaderTest: test_helper_methods_included
37375
+ ------------------------------------------------------
37376
+  (0.1ms) rollback transaction
37377
+  (0.0ms) begin transaction
37378
+ ---------------------------------------------------------
37379
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
37380
+ ---------------------------------------------------------
37381
+  (0.0ms) rollback transaction
37382
+  (0.0ms) begin transaction
37383
+ --------------------------------------------------------
37384
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
37385
+ --------------------------------------------------------
37386
+  (0.0ms) rollback transaction
37387
+  (0.0ms) begin transaction
37388
+ -----------------------------------------------------------
37389
+ SmarterListingLoaderTest: test_the_default_filter_parameter
37390
+ -----------------------------------------------------------
37391
+  (0.0ms) rollback transaction
37392
+  (0.0ms) begin transaction
37393
+ Fixture Delete (0.1ms) DELETE FROM "listings"
37394
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:30:35', '2014-09-12 09:30:35', 980190962)
37395
+  (20.4ms) commit transaction
37396
+  (0.0ms) begin transaction
37397
+ -------------------------------------------
37398
+ ListingsControllerTest: test_correct_layout
37399
+ -------------------------------------------
37400
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37401
+ Processing by ListingsController#index as HTML
37402
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37403
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.5ms)
37404
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37405
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37406
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
37407
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
37408
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.5ms)
37409
+ Rendered listings/_listing.html.erb (3.5ms)
37410
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.6ms)
37411
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37412
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.5ms)
37413
+ Rendered listings/_table_header.html.erb (10.6ms)
37414
+ Rendered listings/index.html.erb within layouts/default (14.4ms)
37415
+ Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.2ms)
37416
+  (0.0ms) rollback transaction
37417
+  (0.0ms) begin transaction
37418
+ --------------------------------------------------
37419
+ ListingsControllerTest: test_should_create_listing
37420
+ --------------------------------------------------
37421
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37422
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37423
+ Processing by ListingsController#create as JS
37424
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
37425
+ Unpermitted parameters: deleted_at
37426
+  (0.0ms) SAVEPOINT active_record_1
37427
+ SQL (0.1ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:30:35.880756"], ["name", "newName"], ["updated_at", "2014-09-12 09:30:35.880756"]]
37428
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37429
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
37430
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.5ms)
37431
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
37432
+ Rendered listings/_listing.html.erb (9.3ms)
37433
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (10.0ms)
37434
+ Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.2ms)
37435
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37436
+  (0.1ms) rollback transaction
37437
+  (0.0ms) begin transaction
37438
+ ---------------------------------------------------
37439
+ ListingsControllerTest: test_should_destroy_listing
37440
+ ---------------------------------------------------
37441
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37442
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37443
+ Processing by ListingsController#destroy as JS
37444
+ Parameters: {"id"=>"980190962"}
37445
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37446
+  (0.0ms) SAVEPOINT active_record_1
37447
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
37448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37449
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.3ms)
37450
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
37451
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37452
+  (0.1ms) rollback transaction
37453
+  (0.0ms) begin transaction
37454
+ --------------------------------------------
37455
+ ListingsControllerTest: test_should_get_edit
37456
+ --------------------------------------------
37457
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37458
+ Processing by ListingsController#edit as JS
37459
+ Parameters: {"id"=>"980190962"}
37460
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37461
+ Rendered listings/_form.html.erb (1.3ms)
37462
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (2.0ms)
37463
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
37464
+ Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)
37465
+  (0.0ms) rollback transaction
37466
+  (0.0ms) begin transaction
37467
+ ---------------------------------------------
37468
+ ListingsControllerTest: test_should_get_index
37469
+ ---------------------------------------------
37470
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37471
+ Processing by ListingsController#index as HTML
37472
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37473
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37474
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37475
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37476
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
37477
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
37478
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
37479
+ Rendered listings/_listing.html.erb (0.7ms)
37480
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
37481
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37482
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
37483
+ Rendered listings/_table_header.html.erb (3.1ms)
37484
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.2ms)
37485
+  (0.0ms) rollback transaction
37486
+  (0.0ms) begin transaction
37487
+ -------------------------------------------
37488
+ ListingsControllerTest: test_should_get_new
37489
+ -------------------------------------------
37490
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37491
+ Processing by ListingsController#new as JS
37492
+ Rendered listings/_form.html.erb (0.4ms)
37493
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (0.9ms)
37494
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
37495
+ Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
37496
+  (0.0ms) rollback transaction
37497
+  (0.0ms) begin transaction
37498
+ ---------------------------------------------------------------------
37499
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
37500
+ ---------------------------------------------------------------------
37501
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37502
+  (0.1ms) rollback transaction
37503
+  (0.0ms) begin transaction
37504
+ --------------------------------------------------
37505
+ ListingsControllerTest: test_should_update_listing
37506
+ --------------------------------------------------
37507
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37508
+ Processing by ListingsController#update as JS
37509
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
37510
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37511
+ Unpermitted parameters: deleted_at
37512
+  (0.0ms) SAVEPOINT active_record_1
37513
+ SQL (0.1ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:30:35.932577"]]
37514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37515
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
37516
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
37517
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
37518
+ Rendered listings/_listing.html.erb (0.8ms)
37519
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.3ms)
37520
+ Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.2ms)
37521
+  (0.1ms) rollback transaction
37522
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37523
+  (0.1ms) begin transaction
37524
+ ---------------------------------------------------------------
37525
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
37526
+ ---------------------------------------------------------------
37527
+  (0.0ms) rollback transaction
37528
+  (0.0ms) begin transaction
37529
+ ------------------------------------------------------
37530
+ SmarterListingLoaderTest: test_helper_methods_included
37531
+ ------------------------------------------------------
37532
+  (0.0ms) rollback transaction
37533
+  (0.0ms) begin transaction
37534
+ ---------------------------------------------------------
37535
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
37536
+ ---------------------------------------------------------
37537
+  (0.0ms) rollback transaction
37538
+  (0.0ms) begin transaction
37539
+ --------------------------------------------------------
37540
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
37541
+ --------------------------------------------------------
37542
+  (0.0ms) rollback transaction
37543
+  (0.0ms) begin transaction
37544
+ -----------------------------------------------------------
37545
+ SmarterListingLoaderTest: test_the_default_filter_parameter
37546
+ -----------------------------------------------------------
37547
+  (0.0ms) rollback transaction
37548
+  (0.0ms) begin transaction
37549
+ Fixture Delete (0.1ms) DELETE FROM "listings"
37550
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:30:58', '2014-09-12 09:30:58', 980190962)
37551
+  (15.1ms) commit transaction
37552
+  (0.1ms) begin transaction
37553
+ -------------------------------------------
37554
+ ListingsControllerTest: test_correct_layout
37555
+ -------------------------------------------
37556
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37557
+ Processing by ListingsController#index as HTML
37558
+ Completed 500 Internal Server Error in 1ms
37559
+  (0.0ms) rollback transaction
37560
+  (0.0ms) begin transaction
37561
+ --------------------------------------------------
37562
+ ListingsControllerTest: test_should_create_listing
37563
+ --------------------------------------------------
37564
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37565
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37566
+ Processing by ListingsController#create as JS
37567
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
37568
+ Unpermitted parameters: deleted_at
37569
+  (0.0ms) SAVEPOINT active_record_1
37570
+ SQL (0.1ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:30:58.485578"], ["name", "newName"], ["updated_at", "2014-09-12 09:30:58.485578"]]
37571
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37572
+ Completed 500 Internal Server Error in 9ms
37573
+  (0.1ms) rollback transaction
37574
+  (0.0ms) begin transaction
37575
+ ---------------------------------------------------
37576
+ ListingsControllerTest: test_should_destroy_listing
37577
+ ---------------------------------------------------
37578
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37579
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37580
+ Processing by ListingsController#destroy as JS
37581
+ Parameters: {"id"=>"980190962"}
37582
+ Completed 500 Internal Server Error in 1ms
37583
+  (0.0ms) rollback transaction
37584
+  (0.0ms) begin transaction
37585
+ --------------------------------------------
37586
+ ListingsControllerTest: test_should_get_edit
37587
+ --------------------------------------------
37588
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37589
+ Processing by ListingsController#edit as JS
37590
+ Parameters: {"id"=>"980190962"}
37591
+ Completed 500 Internal Server Error in 1ms
37592
+  (0.0ms) rollback transaction
37593
+  (0.0ms) begin transaction
37594
+ ---------------------------------------------
37595
+ ListingsControllerTest: test_should_get_index
37596
+ ---------------------------------------------
37597
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37598
+ Processing by ListingsController#index as HTML
37599
+ Completed 500 Internal Server Error in 1ms
37600
+  (0.0ms) rollback transaction
37601
+  (0.0ms) begin transaction
37602
+ -------------------------------------------
37603
+ ListingsControllerTest: test_should_get_new
37604
+ -------------------------------------------
37605
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37606
+ Processing by ListingsController#new as JS
37607
+ Completed 500 Internal Server Error in 7ms
37608
+  (0.1ms) rollback transaction
37609
+  (0.0ms) begin transaction
37610
+ ---------------------------------------------------------------------
37611
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
37612
+ ---------------------------------------------------------------------
37613
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37614
+  (0.0ms) rollback transaction
37615
+  (0.0ms) begin transaction
37616
+ --------------------------------------------------
37617
+ ListingsControllerTest: test_should_update_listing
37618
+ --------------------------------------------------
37619
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37620
+ Processing by ListingsController#update as JS
37621
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
37622
+ Completed 500 Internal Server Error in 6ms
37623
+  (0.1ms) rollback transaction
37624
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37625
+  (0.1ms) begin transaction
37626
+ Fixture Delete (0.1ms) DELETE FROM "listings"
37627
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:31:18', '2014-09-12 09:31:18', 980190962)
37628
+  (14.5ms) commit transaction
37629
+  (0.0ms) begin transaction
37630
+ -------------------------------------------
37631
+ ListingsControllerTest: test_correct_layout
37632
+ -------------------------------------------
37633
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37634
+ Processing by ListingsController#index as HTML
37635
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37636
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
37637
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37638
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37639
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
37640
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
37641
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
37642
+ Rendered listings/_listing.html.erb (3.5ms)
37643
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.7ms)
37644
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37645
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.5ms)
37646
+ Rendered listings/_table_header.html.erb (10.6ms)
37647
+ Rendered listings/index.html.erb within layouts/default (14.1ms)
37648
+ Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.2ms)
37649
+  (0.1ms) rollback transaction
37650
+  (0.1ms) begin transaction
37651
+ --------------------------------------------------
37652
+ ListingsControllerTest: test_should_create_listing
37653
+ --------------------------------------------------
37654
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37655
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37656
+ Processing by ListingsController#create as JS
37657
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
37658
+ Unpermitted parameters: deleted_at
37659
+  (0.0ms) SAVEPOINT active_record_1
37660
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:31:18.699663"], ["name", "newName"], ["updated_at", "2014-09-12 09:31:18.699663"]]
37661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37662
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
37663
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
37664
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
37665
+ Rendered listings/_listing.html.erb (4.1ms)
37666
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (4.7ms)
37667
+ Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.3ms)
37668
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37669
+  (0.1ms) rollback transaction
37670
+  (0.1ms) begin transaction
37671
+ ---------------------------------------------------
37672
+ ListingsControllerTest: test_should_destroy_listing
37673
+ ---------------------------------------------------
37674
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37675
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37676
+ Processing by ListingsController#destroy as JS
37677
+ Parameters: {"id"=>"980190962"}
37678
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37679
+  (0.0ms) SAVEPOINT active_record_1
37680
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
37681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37682
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.3ms)
37683
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
37684
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37685
+  (0.1ms) rollback transaction
37686
+  (0.0ms) begin transaction
37687
+ --------------------------------------------
37688
+ ListingsControllerTest: test_should_get_edit
37689
+ --------------------------------------------
37690
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37691
+ Processing by ListingsController#edit as JS
37692
+ Parameters: {"id"=>"980190962"}
37693
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37694
+ Rendered listings/_form.html.erb (1.5ms)
37695
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (2.4ms)
37696
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
37697
+ Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
37698
+  (0.0ms) rollback transaction
37699
+  (0.0ms) begin transaction
37700
+ ---------------------------------------------
37701
+ ListingsControllerTest: test_should_get_index
37702
+ ---------------------------------------------
37703
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37704
+ Processing by ListingsController#index as HTML
37705
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37706
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.2ms)
37707
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37708
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37709
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
37710
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
37711
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
37712
+ Rendered listings/_listing.html.erb (0.7ms)
37713
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
37714
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37715
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
37716
+ Rendered listings/_table_header.html.erb (3.4ms)
37717
+ Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms)
37718
+  (0.1ms) rollback transaction
37719
+  (0.0ms) begin transaction
37720
+ -------------------------------------------
37721
+ ListingsControllerTest: test_should_get_new
37722
+ -------------------------------------------
37723
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37724
+ Processing by ListingsController#new as JS
37725
+ Rendered listings/_form.html.erb (0.6ms)
37726
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (1.4ms)
37727
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.1ms)
37728
+ Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
37729
+  (0.1ms) rollback transaction
37730
+  (0.0ms) begin transaction
37731
+ ---------------------------------------------------------------------
37732
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
37733
+ ---------------------------------------------------------------------
37734
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37735
+  (0.0ms) rollback transaction
37736
+  (0.0ms) begin transaction
37737
+ --------------------------------------------------
37738
+ ListingsControllerTest: test_should_update_listing
37739
+ --------------------------------------------------
37740
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37741
+ Processing by ListingsController#update as JS
37742
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
37743
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37744
+ Unpermitted parameters: deleted_at
37745
+  (0.0ms) SAVEPOINT active_record_1
37746
+ SQL (0.2ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:31:18.753278"]]
37747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37748
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
37749
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
37750
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
37751
+ Rendered listings/_listing.html.erb (0.8ms)
37752
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.2ms)
37753
+ Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.2ms)
37754
+  (0.1ms) rollback transaction
37755
+  (0.1ms) begin transaction
37756
+ ---------------------------------------------------------------
37757
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
37758
+ ---------------------------------------------------------------
37759
+  (0.1ms) rollback transaction
37760
+  (0.0ms) begin transaction
37761
+ ------------------------------------------------------
37762
+ SmarterListingLoaderTest: test_helper_methods_included
37763
+ ------------------------------------------------------
37764
+  (0.1ms) rollback transaction
37765
+  (0.0ms) begin transaction
37766
+ ---------------------------------------------------------
37767
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
37768
+ ---------------------------------------------------------
37769
+  (0.1ms) rollback transaction
37770
+  (0.0ms) begin transaction
37771
+ --------------------------------------------------------
37772
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
37773
+ --------------------------------------------------------
37774
+  (0.0ms) rollback transaction
37775
+  (0.0ms) begin transaction
37776
+ -----------------------------------------------------------
37777
+ SmarterListingLoaderTest: test_the_default_filter_parameter
37778
+ -----------------------------------------------------------
37779
+  (0.0ms) rollback transaction
37780
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37781
+  (0.1ms) begin transaction
37782
+ Fixture Delete (0.1ms) DELETE FROM "listings"
37783
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:31:45', '2014-09-12 09:31:45', 980190962)
37784
+  (16.2ms) commit transaction
37785
+  (0.1ms) begin transaction
37786
+ -------------------------------------------
37787
+ ListingsControllerTest: test_correct_layout
37788
+ -------------------------------------------
37789
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37790
+ Processing by ListingsController#index as HTML
37791
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37792
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.5ms)
37793
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37794
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37795
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
37796
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
37797
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
37798
+ Rendered listings/_listing.html.erb (3.7ms)
37799
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.8ms)
37800
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37801
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.6ms)
37802
+ Rendered listings/_table_header.html.erb (11.7ms)
37803
+ Rendered listings/index.html.erb within layouts/default (15.5ms)
37804
+ Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.2ms)
37805
+  (0.1ms) rollback transaction
37806
+  (0.0ms) begin transaction
37807
+ --------------------------------------------------
37808
+ ListingsControllerTest: test_should_create_listing
37809
+ --------------------------------------------------
37810
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37811
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37812
+ Processing by ListingsController#create as JS
37813
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
37814
+ Unpermitted parameters: deleted_at
37815
+  (0.1ms) SAVEPOINT active_record_1
37816
+ SQL (0.1ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:31:45.530363"], ["name", "newName"], ["updated_at", "2014-09-12 09:31:45.530363"]]
37817
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37818
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
37819
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
37820
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.5ms)
37821
+ Rendered listings/_listing.html.erb (4.3ms)
37822
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (5.0ms)
37823
+ Completed 200 OK in 12ms (Views: 9.3ms | ActiveRecord: 0.2ms)
37824
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37825
+  (0.1ms) rollback transaction
37826
+  (0.0ms) begin transaction
37827
+ ---------------------------------------------------
37828
+ ListingsControllerTest: test_should_destroy_listing
37829
+ ---------------------------------------------------
37830
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37831
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37832
+ Processing by ListingsController#destroy as JS
37833
+ Parameters: {"id"=>"980190962"}
37834
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37835
+  (0.0ms) SAVEPOINT active_record_1
37836
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
37837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37838
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.3ms)
37839
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
37840
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37841
+  (0.1ms) rollback transaction
37842
+  (0.0ms) begin transaction
37843
+ --------------------------------------------
37844
+ ListingsControllerTest: test_should_get_edit
37845
+ --------------------------------------------
37846
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37847
+ Processing by ListingsController#edit as JS
37848
+ Parameters: {"id"=>"980190962"}
37849
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37850
+ Rendered listings/_form.html.erb (1.1ms)
37851
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (1.8ms)
37852
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
37853
+ Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
37854
+  (0.1ms) rollback transaction
37855
+  (0.0ms) begin transaction
37856
+ ---------------------------------------------
37857
+ ListingsControllerTest: test_should_get_index
37858
+ ---------------------------------------------
37859
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37860
+ Processing by ListingsController#index as HTML
37861
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37862
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37863
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37864
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37865
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
37866
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
37867
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
37868
+ Rendered listings/_listing.html.erb (0.8ms)
37869
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
37870
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37871
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
37872
+ Rendered listings/_table_header.html.erb (3.6ms)
37873
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)
37874
+  (0.1ms) rollback transaction
37875
+  (0.0ms) begin transaction
37876
+ -------------------------------------------
37877
+ ListingsControllerTest: test_should_get_new
37878
+ -------------------------------------------
37879
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37880
+ Processing by ListingsController#new as JS
37881
+ Rendered listings/_form.html.erb (0.6ms)
37882
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (1.4ms)
37883
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.1ms)
37884
+ Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
37885
+  (0.1ms) rollback transaction
37886
+  (0.0ms) begin transaction
37887
+ ---------------------------------------------------------------------
37888
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
37889
+ ---------------------------------------------------------------------
37890
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37891
+  (0.0ms) rollback transaction
37892
+  (0.0ms) begin transaction
37893
+ --------------------------------------------------
37894
+ ListingsControllerTest: test_should_update_listing
37895
+ --------------------------------------------------
37896
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37897
+ Processing by ListingsController#update as JS
37898
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
37899
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37900
+ Unpermitted parameters: deleted_at
37901
+  (0.0ms) SAVEPOINT active_record_1
37902
+ SQL (0.1ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:31:45.588183"]]
37903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37904
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
37905
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
37906
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
37907
+ Rendered listings/_listing.html.erb (0.8ms)
37908
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.4ms)
37909
+ Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.3ms)
37910
+  (0.1ms) rollback transaction
37911
+  (0.1ms) begin transaction
37912
+ ---------------------------------------------------------------
37913
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
37914
+ ---------------------------------------------------------------
37915
+  (0.0ms) rollback transaction
37916
+  (0.0ms) begin transaction
37917
+ ------------------------------------------------------
37918
+ SmarterListingLoaderTest: test_helper_methods_included
37919
+ ------------------------------------------------------
37920
+  (0.0ms) rollback transaction
37921
+  (0.0ms) begin transaction
37922
+ ---------------------------------------------------------
37923
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
37924
+ ---------------------------------------------------------
37925
+  (0.0ms) rollback transaction
37926
+  (0.0ms) begin transaction
37927
+ --------------------------------------------------------
37928
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
37929
+ --------------------------------------------------------
37930
+  (0.0ms) rollback transaction
37931
+  (0.0ms) begin transaction
37932
+ -----------------------------------------------------------
37933
+ SmarterListingLoaderTest: test_the_default_filter_parameter
37934
+ -----------------------------------------------------------
37935
+  (0.0ms) rollback transaction
37936
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37937
+  (0.1ms) begin transaction
37938
+ Fixture Delete (0.1ms) DELETE FROM "listings"
37939
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:31:49', '2014-09-12 09:31:49', 980190962)
37940
+  (21.6ms) commit transaction
37941
+  (0.0ms) begin transaction
37942
+ -------------------------------------------
37943
+ ListingsControllerTest: test_correct_layout
37944
+ -------------------------------------------
37945
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37946
+ Processing by ListingsController#index as HTML
37947
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37948
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.6ms)
37949
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
37950
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
37951
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
37952
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
37953
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
37954
+ Rendered listings/_listing.html.erb (3.6ms)
37955
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.6ms)
37956
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37957
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.6ms)
37958
+ Rendered listings/_table_header.html.erb (11.6ms)
37959
+ Rendered listings/index.html.erb within layouts/default (17.7ms)
37960
+ Completed 200 OK in 25ms (Views: 22.7ms | ActiveRecord: 0.2ms)
37961
+  (0.1ms) rollback transaction
37962
+  (0.0ms) begin transaction
37963
+ --------------------------------------------------
37964
+ ListingsControllerTest: test_should_create_listing
37965
+ --------------------------------------------------
37966
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37967
+  (0.0ms) SELECT COUNT(*) FROM "listings"
37968
+ Processing by ListingsController#create as JS
37969
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
37970
+ Unpermitted parameters: deleted_at
37971
+  (0.1ms) SAVEPOINT active_record_1
37972
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:31:49.352851"], ["name", "newName"], ["updated_at", "2014-09-12 09:31:49.352851"]]
37973
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37974
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
37975
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.6ms)
37976
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.5ms)
37977
+ Rendered listings/_listing.html.erb (4.7ms)
37978
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (5.5ms)
37979
+ Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.3ms)
37980
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37981
+  (0.1ms) rollback transaction
37982
+  (0.0ms) begin transaction
37983
+ ---------------------------------------------------
37984
+ ListingsControllerTest: test_should_destroy_listing
37985
+ ---------------------------------------------------
37986
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37987
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37988
+ Processing by ListingsController#destroy as JS
37989
+ Parameters: {"id"=>"980190962"}
37990
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
37991
+  (0.0ms) SAVEPOINT active_record_1
37992
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
37993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37994
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.3ms)
37995
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
37996
+  (0.1ms) SELECT COUNT(*) FROM "listings"
37997
+  (0.1ms) rollback transaction
37998
+  (0.0ms) begin transaction
37999
+ --------------------------------------------
38000
+ ListingsControllerTest: test_should_get_edit
38001
+ --------------------------------------------
38002
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38003
+ Processing by ListingsController#edit as JS
38004
+ Parameters: {"id"=>"980190962"}
38005
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38006
+ Rendered listings/_form.html.erb (1.1ms)
38007
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (1.9ms)
38008
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
38009
+ Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)
38010
+  (0.1ms) rollback transaction
38011
+  (0.1ms) begin transaction
38012
+ ---------------------------------------------
38013
+ ListingsControllerTest: test_should_get_index
38014
+ ---------------------------------------------
38015
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38016
+ Processing by ListingsController#index as HTML
38017
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38018
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.2ms)
38019
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.2ms)
38020
+ Listing Load (0.3ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
38021
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
38022
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
38023
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
38024
+ Rendered listings/_listing.html.erb (0.8ms)
38025
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
38026
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38027
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
38028
+ Rendered listings/_table_header.html.erb (4.5ms)
38029
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.4ms)
38030
+  (0.1ms) rollback transaction
38031
+  (0.0ms) begin transaction
38032
+ -------------------------------------------
38033
+ ListingsControllerTest: test_should_get_new
38034
+ -------------------------------------------
38035
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38036
+ Processing by ListingsController#new as JS
38037
+ Rendered listings/_form.html.erb (0.7ms)
38038
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (1.6ms)
38039
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
38040
+ Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
38041
+  (0.1ms) rollback transaction
38042
+  (0.1ms) begin transaction
38043
+ ---------------------------------------------------------------------
38044
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
38045
+ ---------------------------------------------------------------------
38046
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38047
+  (0.1ms) rollback transaction
38048
+  (0.0ms) begin transaction
38049
+ --------------------------------------------------
38050
+ ListingsControllerTest: test_should_update_listing
38051
+ --------------------------------------------------
38052
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38053
+ Processing by ListingsController#update as JS
38054
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
38055
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38056
+ Unpermitted parameters: deleted_at
38057
+  (0.1ms) SAVEPOINT active_record_1
38058
+ SQL (0.2ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:31:49.413792"]]
38059
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38060
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
38061
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
38062
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
38063
+ Rendered listings/_listing.html.erb (1.0ms)
38064
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.5ms)
38065
+ Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.4ms)
38066
+  (0.1ms) rollback transaction
38067
+  (0.0ms) begin transaction
38068
+ ---------------------------------------------------------------
38069
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
38070
+ ---------------------------------------------------------------
38071
+  (0.0ms) rollback transaction
38072
+  (0.0ms) begin transaction
38073
+ ------------------------------------------------------
38074
+ SmarterListingLoaderTest: test_helper_methods_included
38075
+ ------------------------------------------------------
38076
+  (0.1ms) rollback transaction
38077
+  (0.1ms) begin transaction
38078
+ ---------------------------------------------------------
38079
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
38080
+ ---------------------------------------------------------
38081
+  (0.0ms) rollback transaction
38082
+  (0.0ms) begin transaction
38083
+ --------------------------------------------------------
38084
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
38085
+ --------------------------------------------------------
38086
+  (0.1ms) rollback transaction
38087
+  (0.1ms) begin transaction
38088
+ -----------------------------------------------------------
38089
+ SmarterListingLoaderTest: test_the_default_filter_parameter
38090
+ -----------------------------------------------------------
38091
+  (0.0ms) rollback transaction
38092
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
38093
+  (0.1ms) begin transaction
38094
+ ---------------------------------------------------------------
38095
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
38096
+ ---------------------------------------------------------------
38097
+  (0.0ms) rollback transaction
38098
+  (0.0ms) begin transaction
38099
+ ------------------------------------------------------
38100
+ SmarterListingLoaderTest: test_helper_methods_included
38101
+ ------------------------------------------------------
38102
+  (0.0ms) rollback transaction
38103
+  (0.0ms) begin transaction
38104
+ ---------------------------------------------------------
38105
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
38106
+ ---------------------------------------------------------
38107
+  (0.0ms) rollback transaction
38108
+  (0.0ms) begin transaction
38109
+ --------------------------------------------------------
38110
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
38111
+ --------------------------------------------------------
38112
+  (0.0ms) rollback transaction
38113
+  (0.0ms) begin transaction
38114
+ -----------------------------------------------------------
38115
+ SmarterListingLoaderTest: test_the_default_filter_parameter
38116
+ -----------------------------------------------------------
38117
+  (0.0ms) rollback transaction
38118
+  (0.0ms) begin transaction
38119
+ Fixture Delete (0.1ms) DELETE FROM "listings"
38120
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:31:53', '2014-09-12 09:31:53', 980190962)
38121
+  (26.2ms) commit transaction
38122
+  (0.0ms) begin transaction
38123
+ -------------------------------------------
38124
+ ListingsControllerTest: test_correct_layout
38125
+ -------------------------------------------
38126
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38127
+ Processing by ListingsController#index as HTML
38128
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38129
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
38130
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
38131
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
38132
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
38133
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
38134
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
38135
+ Rendered listings/_listing.html.erb (3.4ms)
38136
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.6ms)
38137
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38138
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.4ms)
38139
+ Rendered listings/_table_header.html.erb (10.8ms)
38140
+ Rendered listings/index.html.erb within layouts/default (14.6ms)
38141
+ Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.2ms)
38142
+  (0.1ms) rollback transaction
38143
+  (0.0ms) begin transaction
38144
+ --------------------------------------------------
38145
+ ListingsControllerTest: test_should_create_listing
38146
+ --------------------------------------------------
38147
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38148
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38149
+ Processing by ListingsController#create as JS
38150
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
38151
+ Unpermitted parameters: deleted_at
38152
+  (0.0ms) SAVEPOINT active_record_1
38153
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:31:53.390520"], ["name", "newName"], ["updated_at", "2014-09-12 09:31:53.390520"]]
38154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38155
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
38156
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.4ms)
38157
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.5ms)
38158
+ Rendered listings/_listing.html.erb (4.1ms)
38159
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (4.9ms)
38160
+ Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.2ms)
38161
+  (0.1ms) SELECT COUNT(*) FROM "listings"
38162
+  (0.1ms) rollback transaction
38163
+  (0.0ms) begin transaction
38164
+ ---------------------------------------------------
38165
+ ListingsControllerTest: test_should_destroy_listing
38166
+ ---------------------------------------------------
38167
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38168
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38169
+ Processing by ListingsController#destroy as JS
38170
+ Parameters: {"id"=>"980190962"}
38171
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38172
+  (0.0ms) SAVEPOINT active_record_1
38173
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
38174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38175
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.4ms)
38176
+ Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.2ms)
38177
+  (0.1ms) SELECT COUNT(*) FROM "listings"
38178
+  (0.1ms) rollback transaction
38179
+  (0.0ms) begin transaction
38180
+ --------------------------------------------
38181
+ ListingsControllerTest: test_should_get_edit
38182
+ --------------------------------------------
38183
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38184
+ Processing by ListingsController#edit as JS
38185
+ Parameters: {"id"=>"980190962"}
38186
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38187
+ Rendered listings/_form.html.erb (1.2ms)
38188
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (1.9ms)
38189
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
38190
+ Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
38191
+  (0.1ms) rollback transaction
38192
+  (0.0ms) begin transaction
38193
+ ---------------------------------------------
38194
+ ListingsControllerTest: test_should_get_index
38195
+ ---------------------------------------------
38196
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38197
+ Processing by ListingsController#index as HTML
38198
+  (0.1ms) SELECT COUNT(*) FROM "listings"
38199
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
38200
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
38201
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
38202
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
38203
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
38204
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
38205
+ Rendered listings/_listing.html.erb (0.8ms)
38206
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.3ms)
38207
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38208
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
38209
+ Rendered listings/_table_header.html.erb (3.0ms)
38210
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.2ms)
38211
+  (0.0ms) rollback transaction
38212
+  (0.0ms) begin transaction
38213
+ -------------------------------------------
38214
+ ListingsControllerTest: test_should_get_new
38215
+ -------------------------------------------
38216
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38217
+ Processing by ListingsController#new as JS
38218
+ Rendered listings/_form.html.erb (0.6ms)
38219
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (1.2ms)
38220
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
38221
+ Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
38222
+  (0.0ms) rollback transaction
38223
+  (0.0ms) begin transaction
38224
+ ---------------------------------------------------------------------
38225
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
38226
+ ---------------------------------------------------------------------
38227
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38228
+  (0.0ms) rollback transaction
38229
+  (0.0ms) begin transaction
38230
+ --------------------------------------------------
38231
+ ListingsControllerTest: test_should_update_listing
38232
+ --------------------------------------------------
38233
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38234
+ Processing by ListingsController#update as JS
38235
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
38236
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38237
+ Unpermitted parameters: deleted_at
38238
+  (0.0ms) SAVEPOINT active_record_1
38239
+ SQL (0.2ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:31:53.443716"]]
38240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38241
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
38242
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.2ms)
38243
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
38244
+ Rendered listings/_listing.html.erb (1.1ms)
38245
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.6ms)
38246
+ Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.3ms)
38247
+  (0.1ms) rollback transaction
38248
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
38249
+  (0.1ms) begin transaction
38250
+ Fixture Delete (0.1ms) DELETE FROM "listings"
38251
+ Fixture Insert (0.1ms) INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2014-09-12 09:31:57', '2014-09-12 09:31:57', 980190962)
38252
+  (15.2ms) commit transaction
38253
+  (0.0ms) begin transaction
38254
+ -------------------------------------------
38255
+ ListingsControllerTest: test_correct_layout
38256
+ -------------------------------------------
38257
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38258
+ Processing by ListingsController#index as HTML
38259
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38260
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.4ms)
38261
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
38262
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
38263
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
38264
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
38265
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
38266
+ Rendered listings/_listing.html.erb (3.4ms)
38267
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.8ms)
38268
+  (0.1ms) SELECT COUNT(*) FROM "listings"
38269
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.5ms)
38270
+ Rendered listings/_table_header.html.erb (10.8ms)
38271
+ Rendered listings/index.html.erb within layouts/default (14.2ms)
38272
+ Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.2ms)
38273
+  (0.0ms) rollback transaction
38274
+  (0.0ms) begin transaction
38275
+ --------------------------------------------------
38276
+ ListingsControllerTest: test_should_create_listing
38277
+ --------------------------------------------------
38278
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38279
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38280
+ Processing by ListingsController#create as JS
38281
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
38282
+ Unpermitted parameters: deleted_at
38283
+  (0.0ms) SAVEPOINT active_record_1
38284
+ SQL (0.2ms) INSERT INTO "listings" ("content", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["content", "pokdsfopjksdfop"], ["created_at", "2014-09-12 09:31:57.498729"], ["name", "newName"], ["updated_at", "2014-09-12 09:31:57.498729"]]
38285
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38286
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.4ms)
38287
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.3ms)
38288
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.4ms)
38289
+ Rendered listings/_listing.html.erb (3.9ms)
38290
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_create.js.erb (4.5ms)
38291
+ Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.3ms)
38292
+  (0.1ms) SELECT COUNT(*) FROM "listings"
38293
+  (0.1ms) rollback transaction
38294
+  (0.0ms) begin transaction
38295
+ ---------------------------------------------------
38296
+ ListingsControllerTest: test_should_destroy_listing
38297
+ ---------------------------------------------------
38298
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38299
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38300
+ Processing by ListingsController#destroy as JS
38301
+ Parameters: {"id"=>"980190962"}
38302
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38303
+  (0.0ms) SAVEPOINT active_record_1
38304
+ SQL (0.1ms) DELETE FROM "listings" WHERE "listings"."id" = ? [["id", 980190962]]
38305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38306
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_destroy.js.erb (0.3ms)
38307
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)
38308
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38309
+  (0.1ms) rollback transaction
38310
+  (0.0ms) begin transaction
38311
+ --------------------------------------------
38312
+ ListingsControllerTest: test_should_get_edit
38313
+ --------------------------------------------
38314
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38315
+ Processing by ListingsController#edit as JS
38316
+ Parameters: {"id"=>"980190962"}
38317
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38318
+ Rendered listings/_form.html.erb (1.0ms)
38319
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_edit.js.erb (1.7ms)
38320
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.2ms)
38321
+ Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
38322
+  (0.0ms) rollback transaction
38323
+  (0.0ms) begin transaction
38324
+ ---------------------------------------------
38325
+ ListingsControllerTest: test_should_get_index
38326
+ ---------------------------------------------
38327
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38328
+ Processing by ListingsController#index as HTML
38329
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38330
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
38331
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_sortable.html.erb (0.1ms)
38332
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
38333
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
38334
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
38335
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.2ms)
38336
+ Rendered listings/_listing.html.erb (0.9ms)
38337
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_item_new.html.erb (0.2ms)
38338
+  (0.0ms) SELECT COUNT(*) FROM "listings"
38339
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
38340
+ Rendered listings/_table_header.html.erb (3.2ms)
38341
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms)
38342
+  (0.0ms) rollback transaction
38343
+  (0.0ms) begin transaction
38344
+ -------------------------------------------
38345
+ ListingsControllerTest: test_should_get_new
38346
+ -------------------------------------------
38347
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38348
+ Processing by ListingsController#new as JS
38349
+ Rendered listings/_form.html.erb (0.5ms)
38350
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_new.js.erb (0.9ms)
38351
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js (0.0ms)
38352
+ Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
38353
+  (0.0ms) rollback transaction
38354
+  (0.0ms) begin transaction
38355
+ ---------------------------------------------------------------------
38356
+ ListingsControllerTest: test_should_have_the_methods_from_all_helpers
38357
+ ---------------------------------------------------------------------
38358
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38359
+  (0.0ms) rollback transaction
38360
+  (0.0ms) begin transaction
38361
+ --------------------------------------------------
38362
+ ListingsControllerTest: test_should_update_listing
38363
+ --------------------------------------------------
38364
+ Listing Load (0.1ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38365
+ Processing by ListingsController#update as JS
38366
+ Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
38367
+ Listing Load (0.0ms) SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
38368
+ Unpermitted parameters: deleted_at
38369
+  (0.0ms) SAVEPOINT active_record_1
38370
+ SQL (0.1ms) UPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = 980190962 [["name", "newName"], ["updated_at", "2014-09-12 09:31:57.547566"]]
38371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38372
+ Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
38373
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_edit.html.erb (0.1ms)
38374
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/_action_delete.html.erb (0.1ms)
38375
+ Rendered listings/_listing.html.erb (0.7ms)
38376
+ Rendered /home/michael/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/smart_listing-1.0.0/app/views/smart_listing/item/_update.js.erb (1.2ms)
38377
+ Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms)
38378
+  (0.1ms) rollback transaction
38379
+  (0.0ms) begin transaction
38380
+ ---------------------------------------------------------------
38381
+ SmarterListingLoaderTest: test_controller_extensions_are_loaded
38382
+ ---------------------------------------------------------------
38383
+  (0.0ms) rollback transaction
38384
+  (0.0ms) begin transaction
38385
+ ------------------------------------------------------
38386
+ SmarterListingLoaderTest: test_helper_methods_included
38387
+ ------------------------------------------------------
38388
+  (0.1ms) rollback transaction
38389
+  (0.0ms) begin transaction
38390
+ ---------------------------------------------------------
38391
+ SmarterListingLoaderTest: test_setting_a_filter_parameter
38392
+ ---------------------------------------------------------
38393
+  (0.0ms) rollback transaction
38394
+  (0.0ms) begin transaction
38395
+ --------------------------------------------------------
38396
+ SmarterListingLoaderTest: test_smarter_listing_is_loaded
38397
+ --------------------------------------------------------
38398
+  (0.0ms) rollback transaction
38399
+  (0.0ms) begin transaction
38400
+ -----------------------------------------------------------
38401
+ SmarterListingLoaderTest: test_the_default_filter_parameter
38402
+ -----------------------------------------------------------
38403
+  (0.0ms) rollback transaction