ui_changed 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,10 +54,8 @@ if (typeof(UiChanged) === 'undefined') {
54
54
  _action_set_test_as_control_url_selector: '.f_set_test_as_control_url',
55
55
  _remove_url_selector: '.f_remove_url',
56
56
  _diffs_url_selector: '.f_diff_url',
57
-
58
- /* urls */
59
- _url_add_ignore: "/ui_changed/screenshot_ignore_urls/add?id=",
60
- _url_crawl_status: "screenshots/crawl_status.json",
57
+ _crawl_status_url_selector: '.f_crawl_status_url',
58
+ _add_ignore_url_selector: '.f_ignore_url_add',
61
59
 
62
60
  _init: function() {
63
61
  if(this._initialized) return;
@@ -96,7 +94,7 @@ if (typeof(UiChanged) === 'undefined') {
96
94
  UiChanged._ajax_with_type($(this).attr("data-href") + "?id=" + UiChanged._get_checked_ids(), "DELETE");
97
95
  },
98
96
  _actions_ignore: function() {
99
- UiChanged._ajax_with_type(UiChanged._url_add_ignore + UiChanged._get_checked_ids(), "POST");
97
+ UiChanged._ajax_with_type($(UiChanged._add_ignore_url_selector).val() + UiChanged._get_checked_ids(), "POST");
100
98
  },
101
99
  _actions_set_test_as_control: function() {
102
100
  UiChanged._ajax_with_type($(UiChanged._action_set_test_as_control_url_selector).val() + '?id=' + UiChanged._get_checked_ids(), "POST");
@@ -168,7 +166,7 @@ if (typeof(UiChanged) === 'undefined') {
168
166
  _update_crawl_status: function() {
169
167
  $.ajax({
170
168
  dataType: "json",
171
- url: UiChanged._url_crawl_status,
169
+ url: $(UiChanged._crawl_status_url_selector).val(),
172
170
  success: function(data) {
173
171
  var screenshots = data[0].screenshots;
174
172
  var running_status = data[0].worker.running_status;
@@ -83,7 +83,7 @@ module UiChanged
83
83
 
84
84
  # GET /screenshots/compares
85
85
  def compares
86
- params[:sort] ||= "url asc"
86
+ params[:sort] ||= "ui_changed_screenshots.url asc"
87
87
  @screenshots = UiChanged::Screenshot.search(params[:search]).not_in_ignored.where(:is_compare => true)
88
88
  .paginate(:page => params[:page],
89
89
  :per_page => params[:per_page],
@@ -94,7 +94,7 @@ module UiChanged
94
94
 
95
95
  # GET /screenshots/controls
96
96
  def controls
97
- params[:sort] ||= "url asc"
97
+ params[:sort] ||= "ui_changed_screenshots.url asc"
98
98
  @screenshots = UiChanged::Screenshot.search(params[:search]).not_in_ignored.where(:is_control => true)
99
99
  .paginate(:page => params[:page],
100
100
  :per_page => params[:per_page],
@@ -105,7 +105,7 @@ module UiChanged
105
105
 
106
106
  # GET /screenshots/tests
107
107
  def tests
108
- params[:sort] ||= "url asc"
108
+ params[:sort] ||= "ui_changed_screenshots.url asc"
109
109
  @screenshots = UiChanged::Screenshot.search(params[:search]).not_in_ignored.where(:is_test => true)
110
110
  .paginate(:page => params[:page],
111
111
  :per_page => params[:per_page],
@@ -11,4 +11,5 @@
11
11
  .container
12
12
  .row
13
13
  .span3= render :partial => "ui_changed/screenshots/side_nav"
14
- .span9= yield
14
+ .span9= yield
15
+ %input.f_ignore_url_add{:type => "hidden", :value => screenshot_ignore_url_add_path + "?id="}
@@ -1,4 +1,5 @@
1
1
  %input.f_crawl_working{:type => "hidden", :value => @crawl_working}
2
+ %input.f_crawl_status_url{:type => "hidden", :value => screenshot_crawl_status_path}
2
3
  %input.f_on_home_page{:type => "hidden", :value => (request.fullpath == screenshots_path ? "true" : "false")}
3
4
  .btn-group.crawl_btns
4
5
  %button.btn.btn-large.btn-success.f_crawl_action{"data-action" => screenshot_start_all_path, "data-original-title" => "Start control, then test, then compare", :rel => "tooltip"} Start All
data/config/routes.rb CHANGED
@@ -2,7 +2,7 @@ UiChanged::Engine.routes.draw do
2
2
 
3
3
  root :to => "screenshots#index"
4
4
 
5
- match '/screenshots/crawl_status' => 'screenshots#crawl_status', :as => :screenshot_crawl_status
5
+ match '/screenshots/crawl_status' => 'screenshots#crawl_status', :as => :screenshot_crawl_status, :defaults => { :format => 'json' }
6
6
 
7
7
  match '/screenshots/diffs' => 'screenshots#diffs', :as => :screenshot_diffs
8
8
  match '/screenshots/compares' => 'screenshots#compares', :as => :screenshot_compares
@@ -27,7 +27,7 @@ UiChanged::Engine.routes.draw do
27
27
  match '/screenshots/start_compare' => 'screenshots#start_compare', :as => :screenshot_start_compare, :via => :post
28
28
  match '/screenshots/cancel' => 'screenshots#cancel', :as => :screenshot_cancel, :via => :post
29
29
 
30
- match '/screenshot_ignore_urls/add' => 'screenshot_ignore_urls#add', :via => :post
30
+ match '/screenshot_ignore_urls/add' => 'screenshot_ignore_urls#add', :as => :screenshot_ignore_url_add, :via => :post
31
31
  match '/screenshot_ignore_urls/add_all_controls' => 'screenshot_ignore_urls#add_all_controls', :as => :screenshot_ignore_url_add_all_controls, :via => :post
32
32
  match '/screenshot_ignore_urls/add_all_tests' => 'screenshot_ignore_urls#add_all_tests', :as => :screenshot_ignore_url_add_all_tests, :via => :post
33
33
  match '/screenshot_ignore_urls/add_all_compares' => 'screenshot_ignore_urls#add_all_compares', :as => :screenshot_ignore_url_add_all_compares, :via => :post
@@ -1,3 +1,3 @@
1
1
  module UiChanged
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -28755,3 +28755,135 @@ Connecting to database specified by database.yml
28755
28755
   (0.2ms) SELECT version FROM `schema_migrations`
28756
28756
   (2.1ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28757
28757
   (1.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28758
+ Connecting to database specified by database.yml
28759
+  (0.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28760
+  (50.5ms) DROP DATABASE IF EXISTS `ui_changed_test`
28761
+  (9.2ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28762
+  (25.5ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28763
+  (19.9ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28764
+  (9.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28765
+  (16.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28766
+  (0.3ms) SELECT version FROM `schema_migrations`
28767
+  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28768
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28769
+ Connecting to database specified by database.yml
28770
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28771
+  (2.7ms) DROP DATABASE IF EXISTS `ui_changed_test`
28772
+  (0.5ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28773
+  (13.2ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28774
+  (7.6ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28775
+  (7.3ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28776
+  (9.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28777
+  (0.1ms) SELECT version FROM `schema_migrations`
28778
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28779
+  (0.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28780
+ Connecting to database specified by database.yml
28781
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28782
+  (2.4ms) DROP DATABASE IF EXISTS `ui_changed_test`
28783
+  (0.3ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28784
+  (9.4ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28785
+  (12.2ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28786
+  (7.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28787
+  (10.3ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28788
+  (0.3ms) SELECT version FROM `schema_migrations`
28789
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28790
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28791
+ Connecting to database specified by database.yml
28792
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28793
+  (2.1ms) DROP DATABASE IF EXISTS `ui_changed_test`
28794
+  (0.3ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28795
+  (7.7ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28796
+  (11.8ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28797
+  (9.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28798
+  (12.8ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28799
+  (0.2ms) SELECT version FROM `schema_migrations`
28800
+  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28801
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28802
+ Connecting to database specified by database.yml
28803
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28804
+  (2.6ms) DROP DATABASE IF EXISTS `ui_changed_test`
28805
+  (0.2ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28806
+  (11.2ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28807
+  (8.7ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28808
+  (8.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28809
+  (11.8ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28810
+  (0.1ms) SELECT version FROM `schema_migrations`
28811
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28812
+  (0.7ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28813
+ Connecting to database specified by database.yml
28814
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28815
+  (2.2ms) DROP DATABASE IF EXISTS `ui_changed_test`
28816
+  (0.4ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28817
+  (10.0ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28818
+  (11.9ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28819
+  (8.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28820
+  (10.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28821
+  (0.1ms) SELECT version FROM `schema_migrations`
28822
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28823
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28824
+ Connecting to database specified by database.yml
28825
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28826
+  (2.3ms) DROP DATABASE IF EXISTS `ui_changed_test`
28827
+  (0.2ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28828
+  (10.4ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28829
+  (12.8ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28830
+  (7.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28831
+  (11.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28832
+  (0.2ms) SELECT version FROM `schema_migrations`
28833
+  (1.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28834
+  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28835
+ Connecting to database specified by database.yml
28836
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28837
+  (2.4ms) DROP DATABASE IF EXISTS `ui_changed_test`
28838
+  (0.3ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28839
+  (10.3ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28840
+  (13.7ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28841
+  (16.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28842
+  (12.2ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28843
+  (0.3ms) SELECT version FROM `schema_migrations`
28844
+  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28845
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28846
+ Connecting to database specified by database.yml
28847
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28848
+  (2.4ms) DROP DATABASE IF EXISTS `ui_changed_test`
28849
+  (0.3ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28850
+  (13.2ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28851
+  (11.5ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28852
+  (8.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28853
+  (9.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28854
+  (0.2ms) SELECT version FROM `schema_migrations`
28855
+  (0.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28856
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28857
+ Connecting to database specified by database.yml
28858
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28859
+  (2.4ms) DROP DATABASE IF EXISTS `ui_changed_test`
28860
+  (0.3ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28861
+  (8.6ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28862
+  (11.3ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28863
+  (8.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28864
+  (11.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28865
+  (0.2ms) SELECT version FROM `schema_migrations`
28866
+  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28867
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28868
+ Connecting to database specified by database.yml
28869
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28870
+  (2.4ms) DROP DATABASE IF EXISTS `ui_changed_test`
28871
+  (0.2ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28872
+  (9.5ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28873
+  (12.0ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28874
+  (7.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28875
+  (10.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28876
+  (0.1ms) SELECT version FROM `schema_migrations`
28877
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28878
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
28879
+ Connecting to database specified by database.yml
28880
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
28881
+  (2.1ms) DROP DATABASE IF EXISTS `ui_changed_test`
28882
+  (0.2ms) CREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
28883
+  (9.8ms) CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28884
+  (15.8ms) CREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
28885
+  (10.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
28886
+  (14.6ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
28887
+  (0.1ms) SELECT version FROM `schema_migrations`
28888
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203001050')
28889
+  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')