marty 0.5.34 → 0.5.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +3 -3
- data/Gemfile +2 -1
- data/app/components/marty/user_view.rb +2 -0
- data/app/models/marty/user.rb +1 -1
- data/config/locales/en.yml +3 -0
- data/db/seeds.rb +4 -5
- data/lib/marty/version.rb +1 -1
- data/spec/dummy/config/application.rb +1 -0
- data/spec/dummy/db/seeds.rb +2 -0
- data/spec/dummy/delorean/data_report.dl +6 -1
- data/spec/dummy/public/icons/accept.png +0 -0
- data/spec/dummy/public/icons/add.png +0 -0
- data/spec/dummy/public/icons/anchor.png +0 -0
- data/spec/dummy/public/icons/application.png +0 -0
- data/spec/dummy/public/icons/application_add.png +0 -0
- data/spec/dummy/public/icons/application_double.png +0 -0
- data/spec/dummy/public/icons/application_edit.png +0 -0
- data/spec/dummy/public/icons/application_error.png +0 -0
- data/spec/dummy/public/icons/application_form.png +0 -0
- data/spec/dummy/public/icons/application_form_add.png +0 -0
- data/spec/dummy/public/icons/application_form_delete.png +0 -0
- data/spec/dummy/public/icons/application_form_edit.png +0 -0
- data/spec/dummy/public/icons/application_form_magnify.png +0 -0
- data/spec/dummy/public/icons/application_get.png +0 -0
- data/spec/dummy/public/icons/application_go.png +0 -0
- data/spec/dummy/public/icons/application_home.png +0 -0
- data/spec/dummy/public/icons/application_key.png +0 -0
- data/spec/dummy/public/icons/application_lightning.png +0 -0
- data/spec/dummy/public/icons/application_link.png +0 -0
- data/spec/dummy/public/icons/application_osx.png +0 -0
- data/spec/dummy/public/icons/application_osx_terminal.png +0 -0
- data/spec/dummy/public/icons/application_side_boxes.png +0 -0
- data/spec/dummy/public/icons/application_side_contract.png +0 -0
- data/spec/dummy/public/icons/application_side_expand.png +0 -0
- data/spec/dummy/public/icons/application_side_list.png +0 -0
- data/spec/dummy/public/icons/application_side_tree.png +0 -0
- data/spec/dummy/public/icons/application_split.png +0 -0
- data/spec/dummy/public/icons/application_tile_horizontal.png +0 -0
- data/spec/dummy/public/icons/application_tile_vertical.png +0 -0
- data/spec/dummy/public/icons/application_view_columns.png +0 -0
- data/spec/dummy/public/icons/application_view_gallery.png +0 -0
- data/spec/dummy/public/icons/application_view_icons.png +0 -0
- data/spec/dummy/public/icons/application_view_list.png +0 -0
- data/spec/dummy/public/icons/application_view_tile.png +0 -0
- data/spec/dummy/public/icons/application_xp.png +0 -0
- data/spec/dummy/public/icons/application_xp_terminal.png +0 -0
- data/spec/dummy/public/icons/arrow_branch.png +0 -0
- data/spec/dummy/public/icons/arrow_divide.png +0 -0
- data/spec/dummy/public/icons/arrow_down.png +0 -0
- data/spec/dummy/public/icons/arrow_inout.png +0 -0
- data/spec/dummy/public/icons/arrow_join.png +0 -0
- data/spec/dummy/public/icons/arrow_left.png +0 -0
- data/spec/dummy/public/icons/arrow_merge.png +0 -0
- data/spec/dummy/public/icons/arrow_out.png +0 -0
- data/spec/dummy/public/icons/arrow_redo.png +0 -0
- data/spec/dummy/public/icons/arrow_refresh_small.png +0 -0
- data/spec/dummy/public/icons/arrow_right.png +0 -0
- data/spec/dummy/public/icons/arrow_rotate_anticlockwise.png +0 -0
- data/spec/dummy/public/icons/arrow_rotate_clockwise.png +0 -0
- data/spec/dummy/public/icons/arrow_switch.png +0 -0
- data/spec/dummy/public/icons/arrow_turn_left.png +0 -0
- data/spec/dummy/public/icons/arrow_turn_right.png +0 -0
- data/spec/dummy/public/icons/arrow_undo.png +0 -0
- data/spec/dummy/public/icons/arrow_up.png +0 -0
- data/spec/dummy/public/icons/asterisk_orange.png +0 -0
- data/spec/dummy/public/icons/asterisk_yellow.png +0 -0
- data/spec/dummy/public/icons/attach.png +0 -0
- data/spec/dummy/public/icons/award_star_add.png +0 -0
- data/spec/dummy/public/icons/award_star_bronze_1.png +0 -0
- data/spec/dummy/public/icons/award_star_bronze_2.png +0 -0
- data/spec/dummy/public/icons/award_star_bronze_3.png +0 -0
- data/spec/dummy/public/icons/award_star_delete.png +0 -0
- data/spec/dummy/public/icons/award_star_gold_1.png +0 -0
- data/spec/dummy/public/icons/award_star_gold_2.png +0 -0
- data/spec/dummy/public/icons/award_star_gold_3.png +0 -0
- data/spec/dummy/public/icons/award_star_silver_1.png +0 -0
- data/spec/dummy/public/icons/award_star_silver_2.png +0 -0
- data/spec/dummy/public/icons/award_star_silver_3.png +0 -0
- data/spec/dummy/public/icons/basket.png +0 -0
- data/spec/dummy/public/icons/basket_add.png +0 -0
- data/spec/dummy/public/icons/basket_delete.png +0 -0
- data/spec/dummy/public/icons/basket_edit.png +0 -0
- data/spec/dummy/public/icons/basket_error.png +0 -0
- data/spec/dummy/public/icons/basket_go.png +0 -0
- data/spec/dummy/public/icons/basket_put.png +0 -0
- data/spec/dummy/public/icons/basket_remove.png +0 -0
- data/spec/dummy/public/icons/bell.png +0 -0
- data/spec/dummy/public/icons/bell_add.png +0 -0
- data/spec/dummy/public/icons/bell_delete.png +0 -0
- data/spec/dummy/public/icons/bell_error.png +0 -0
- data/spec/dummy/public/icons/bell_go.png +0 -0
- data/spec/dummy/public/icons/bell_link.png +0 -0
- data/spec/dummy/public/icons/bin.png +0 -0
- data/spec/dummy/public/icons/bin_closed.png +0 -0
- data/spec/dummy/public/icons/bin_empty.png +0 -0
- data/spec/dummy/public/icons/bomb.png +0 -0
- data/spec/dummy/public/icons/book.png +0 -0
- data/spec/dummy/public/icons/book_add.png +0 -0
- data/spec/dummy/public/icons/book_addresses.png +0 -0
- data/spec/dummy/public/icons/book_delete.png +0 -0
- data/spec/dummy/public/icons/book_edit.png +0 -0
- data/spec/dummy/public/icons/book_error.png +0 -0
- data/spec/dummy/public/icons/book_go.png +0 -0
- data/spec/dummy/public/icons/book_key.png +0 -0
- data/spec/dummy/public/icons/book_link.png +0 -0
- data/spec/dummy/public/icons/book_next.png +0 -0
- data/spec/dummy/public/icons/book_open.png +0 -0
- data/spec/dummy/public/icons/book_previous.png +0 -0
- data/spec/dummy/public/icons/box.png +0 -0
- data/spec/dummy/public/icons/brick.png +0 -0
- data/spec/dummy/public/icons/brick_add.png +0 -0
- data/spec/dummy/public/icons/brick_delete.png +0 -0
- data/spec/dummy/public/icons/brick_edit.png +0 -0
- data/spec/dummy/public/icons/brick_error.png +0 -0
- data/spec/dummy/public/icons/brick_go.png +0 -0
- data/spec/dummy/public/icons/brick_link.png +0 -0
- data/spec/dummy/public/icons/bricks.png +0 -0
- data/spec/dummy/public/icons/briefcase.png +0 -0
- data/spec/dummy/public/icons/bug.png +0 -0
- data/spec/dummy/public/icons/bug_add.png +0 -0
- data/spec/dummy/public/icons/bug_delete.png +0 -0
- data/spec/dummy/public/icons/bug_edit.png +0 -0
- data/spec/dummy/public/icons/bug_error.png +0 -0
- data/spec/dummy/public/icons/bug_go.png +0 -0
- data/spec/dummy/public/icons/bug_link.png +0 -0
- data/spec/dummy/public/icons/building.png +0 -0
- data/spec/dummy/public/icons/building_add.png +0 -0
- data/spec/dummy/public/icons/building_delete.png +0 -0
- data/spec/dummy/public/icons/building_edit.png +0 -0
- data/spec/dummy/public/icons/building_error.png +0 -0
- data/spec/dummy/public/icons/building_go.png +0 -0
- data/spec/dummy/public/icons/building_key.png +0 -0
- data/spec/dummy/public/icons/building_link.png +0 -0
- data/spec/dummy/public/icons/bullet_add.png +0 -0
- data/spec/dummy/public/icons/bullet_arrow_bottom.png +0 -0
- data/spec/dummy/public/icons/bullet_arrow_down.png +0 -0
- data/spec/dummy/public/icons/bullet_arrow_top.png +0 -0
- data/spec/dummy/public/icons/bullet_arrow_up.png +0 -0
- data/spec/dummy/public/icons/bullet_black.png +0 -0
- data/spec/dummy/public/icons/bullet_blue.png +0 -0
- data/spec/dummy/public/icons/bullet_delete.png +0 -0
- data/spec/dummy/public/icons/bullet_disk.png +0 -0
- data/spec/dummy/public/icons/bullet_error.png +0 -0
- data/spec/dummy/public/icons/bullet_feed.png +0 -0
- data/spec/dummy/public/icons/bullet_go.png +0 -0
- data/spec/dummy/public/icons/bullet_green.png +0 -0
- data/spec/dummy/public/icons/bullet_key.png +0 -0
- data/spec/dummy/public/icons/bullet_orange.png +0 -0
- data/spec/dummy/public/icons/bullet_picture.png +0 -0
- data/spec/dummy/public/icons/bullet_pink.png +0 -0
- data/spec/dummy/public/icons/bullet_purple.png +0 -0
- data/spec/dummy/public/icons/bullet_red.png +0 -0
- data/spec/dummy/public/icons/bullet_star.png +0 -0
- data/spec/dummy/public/icons/bullet_toggle_minus.png +0 -0
- data/spec/dummy/public/icons/bullet_toggle_plus.png +0 -0
- data/spec/dummy/public/icons/bullet_white.png +0 -0
- data/spec/dummy/public/icons/bullet_wrench.png +0 -0
- data/spec/dummy/public/icons/bullet_yellow.png +0 -0
- data/spec/dummy/public/icons/cake.png +0 -0
- data/spec/dummy/public/icons/calculator.png +0 -0
- data/spec/dummy/public/icons/calculator_add.png +0 -0
- data/spec/dummy/public/icons/calculator_delete.png +0 -0
- data/spec/dummy/public/icons/calculator_edit.png +0 -0
- data/spec/dummy/public/icons/calculator_error.png +0 -0
- data/spec/dummy/public/icons/calculator_link.png +0 -0
- data/spec/dummy/public/icons/calendar.png +0 -0
- data/spec/dummy/public/icons/calendar_add.png +0 -0
- data/spec/dummy/public/icons/calendar_delete.png +0 -0
- data/spec/dummy/public/icons/calendar_edit.png +0 -0
- data/spec/dummy/public/icons/calendar_link.png +0 -0
- data/spec/dummy/public/icons/calendar_view_day.png +0 -0
- data/spec/dummy/public/icons/calendar_view_month.png +0 -0
- data/spec/dummy/public/icons/calendar_view_week.png +0 -0
- data/spec/dummy/public/icons/camera.png +0 -0
- data/spec/dummy/public/icons/camera_add.png +0 -0
- data/spec/dummy/public/icons/camera_delete.png +0 -0
- data/spec/dummy/public/icons/camera_edit.png +0 -0
- data/spec/dummy/public/icons/camera_error.png +0 -0
- data/spec/dummy/public/icons/camera_go.png +0 -0
- data/spec/dummy/public/icons/camera_link.png +0 -0
- data/spec/dummy/public/icons/camera_small.png +0 -0
- data/spec/dummy/public/icons/cancel.png +0 -0
- data/spec/dummy/public/icons/car.png +0 -0
- data/spec/dummy/public/icons/car_add.png +0 -0
- data/spec/dummy/public/icons/car_delete.png +0 -0
- data/spec/dummy/public/icons/cart.png +0 -0
- data/spec/dummy/public/icons/cart_add.png +0 -0
- data/spec/dummy/public/icons/cart_delete.png +0 -0
- data/spec/dummy/public/icons/cart_edit.png +0 -0
- data/spec/dummy/public/icons/cart_error.png +0 -0
- data/spec/dummy/public/icons/cart_go.png +0 -0
- data/spec/dummy/public/icons/cart_put.png +0 -0
- data/spec/dummy/public/icons/cart_remove.png +0 -0
- data/spec/dummy/public/icons/cd.png +0 -0
- data/spec/dummy/public/icons/cd_add.png +0 -0
- data/spec/dummy/public/icons/cd_burn.png +0 -0
- data/spec/dummy/public/icons/cd_delete.png +0 -0
- data/spec/dummy/public/icons/cd_edit.png +0 -0
- data/spec/dummy/public/icons/cd_eject.png +0 -0
- data/spec/dummy/public/icons/cd_go.png +0 -0
- data/spec/dummy/public/icons/chart_bar.png +0 -0
- data/spec/dummy/public/icons/chart_bar_add.png +0 -0
- data/spec/dummy/public/icons/chart_bar_delete.png +0 -0
- data/spec/dummy/public/icons/chart_bar_edit.png +0 -0
- data/spec/dummy/public/icons/chart_bar_error.png +0 -0
- data/spec/dummy/public/icons/chart_bar_link.png +0 -0
- data/spec/dummy/public/icons/chart_curve.png +0 -0
- data/spec/dummy/public/icons/chart_curve_add.png +0 -0
- data/spec/dummy/public/icons/chart_curve_delete.png +0 -0
- data/spec/dummy/public/icons/chart_curve_edit.png +0 -0
- data/spec/dummy/public/icons/chart_curve_error.png +0 -0
- data/spec/dummy/public/icons/chart_curve_go.png +0 -0
- data/spec/dummy/public/icons/chart_curve_link.png +0 -0
- data/spec/dummy/public/icons/chart_line.png +0 -0
- data/spec/dummy/public/icons/chart_line_add.png +0 -0
- data/spec/dummy/public/icons/chart_line_delete.png +0 -0
- data/spec/dummy/public/icons/chart_line_edit.png +0 -0
- data/spec/dummy/public/icons/chart_line_error.png +0 -0
- data/spec/dummy/public/icons/chart_line_link.png +0 -0
- data/spec/dummy/public/icons/chart_organisation.png +0 -0
- data/spec/dummy/public/icons/chart_organisation_add.png +0 -0
- data/spec/dummy/public/icons/chart_organisation_delete.png +0 -0
- data/spec/dummy/public/icons/chart_pie.png +0 -0
- data/spec/dummy/public/icons/chart_pie_add.png +0 -0
- data/spec/dummy/public/icons/chart_pie_delete.png +0 -0
- data/spec/dummy/public/icons/chart_pie_edit.png +0 -0
- data/spec/dummy/public/icons/chart_pie_error.png +0 -0
- data/spec/dummy/public/icons/chart_pie_link.png +0 -0
- data/spec/dummy/public/icons/clock.png +0 -0
- data/spec/dummy/public/icons/clock_add.png +0 -0
- data/spec/dummy/public/icons/clock_delete.png +0 -0
- data/spec/dummy/public/icons/clock_edit.png +0 -0
- data/spec/dummy/public/icons/clock_error.png +0 -0
- data/spec/dummy/public/icons/clock_go.png +0 -0
- data/spec/dummy/public/icons/clock_link.png +0 -0
- data/spec/dummy/public/icons/clock_pause.png +0 -0
- data/spec/dummy/public/icons/clock_play.png +0 -0
- data/spec/dummy/public/icons/clock_red.png +0 -0
- data/spec/dummy/public/icons/clock_stop.png +0 -0
- data/spec/dummy/public/icons/cog.png +0 -0
- data/spec/dummy/public/icons/cog_add.png +0 -0
- data/spec/dummy/public/icons/cog_delete.png +0 -0
- data/spec/dummy/public/icons/cog_edit.png +0 -0
- data/spec/dummy/public/icons/cog_error.png +0 -0
- data/spec/dummy/public/icons/cog_go.png +0 -0
- data/spec/dummy/public/icons/coins.png +0 -0
- data/spec/dummy/public/icons/coins_add.png +0 -0
- data/spec/dummy/public/icons/coins_delete.png +0 -0
- data/spec/dummy/public/icons/color_swatch.png +0 -0
- data/spec/dummy/public/icons/color_wheel.png +0 -0
- data/spec/dummy/public/icons/comment.png +0 -0
- data/spec/dummy/public/icons/comment_add.png +0 -0
- data/spec/dummy/public/icons/comment_delete.png +0 -0
- data/spec/dummy/public/icons/comment_edit.png +0 -0
- data/spec/dummy/public/icons/comments.png +0 -0
- data/spec/dummy/public/icons/comments_add.png +0 -0
- data/spec/dummy/public/icons/comments_delete.png +0 -0
- data/spec/dummy/public/icons/compress.png +0 -0
- data/spec/dummy/public/icons/computer.png +0 -0
- data/spec/dummy/public/icons/computer_add.png +0 -0
- data/spec/dummy/public/icons/computer_delete.png +0 -0
- data/spec/dummy/public/icons/computer_edit.png +0 -0
- data/spec/dummy/public/icons/computer_error.png +0 -0
- data/spec/dummy/public/icons/computer_go.png +0 -0
- data/spec/dummy/public/icons/computer_key.png +0 -0
- data/spec/dummy/public/icons/computer_link.png +0 -0
- data/spec/dummy/public/icons/connect.png +0 -0
- data/spec/dummy/public/icons/contrast.png +0 -0
- data/spec/dummy/public/icons/contrast_decrease.png +0 -0
- data/spec/dummy/public/icons/contrast_high.png +0 -0
- data/spec/dummy/public/icons/contrast_increase.png +0 -0
- data/spec/dummy/public/icons/contrast_low.png +0 -0
- data/spec/dummy/public/icons/control_eject.png +0 -0
- data/spec/dummy/public/icons/control_eject_blue.png +0 -0
- data/spec/dummy/public/icons/control_end.png +0 -0
- data/spec/dummy/public/icons/control_end_blue.png +0 -0
- data/spec/dummy/public/icons/control_equalizer.png +0 -0
- data/spec/dummy/public/icons/control_equalizer_blue.png +0 -0
- data/spec/dummy/public/icons/control_fastforward.png +0 -0
- data/spec/dummy/public/icons/control_fastforward_blue.png +0 -0
- data/spec/dummy/public/icons/control_pause.png +0 -0
- data/spec/dummy/public/icons/control_pause_blue.png +0 -0
- data/spec/dummy/public/icons/control_play.png +0 -0
- data/spec/dummy/public/icons/control_play_blue.png +0 -0
- data/spec/dummy/public/icons/control_repeat.png +0 -0
- data/spec/dummy/public/icons/control_repeat_blue.png +0 -0
- data/spec/dummy/public/icons/control_rewind.png +0 -0
- data/spec/dummy/public/icons/control_rewind_blue.png +0 -0
- data/spec/dummy/public/icons/control_start.png +0 -0
- data/spec/dummy/public/icons/control_start_blue.png +0 -0
- data/spec/dummy/public/icons/control_stop.png +0 -0
- data/spec/dummy/public/icons/control_stop_blue.png +0 -0
- data/spec/dummy/public/icons/controller.png +0 -0
- data/spec/dummy/public/icons/controller_add.png +0 -0
- data/spec/dummy/public/icons/controller_delete.png +0 -0
- data/spec/dummy/public/icons/controller_error.png +0 -0
- data/spec/dummy/public/icons/creditcards.png +0 -0
- data/spec/dummy/public/icons/cross.png +0 -0
- data/spec/dummy/public/icons/css.png +0 -0
- data/spec/dummy/public/icons/css_add.png +0 -0
- data/spec/dummy/public/icons/css_delete.png +0 -0
- data/spec/dummy/public/icons/css_go.png +0 -0
- data/spec/dummy/public/icons/css_valid.png +0 -0
- data/spec/dummy/public/icons/cup.png +0 -0
- data/spec/dummy/public/icons/cup_add.png +0 -0
- data/spec/dummy/public/icons/cup_delete.png +0 -0
- data/spec/dummy/public/icons/cup_edit.png +0 -0
- data/spec/dummy/public/icons/cup_error.png +0 -0
- data/spec/dummy/public/icons/cup_go.png +0 -0
- data/spec/dummy/public/icons/cup_key.png +0 -0
- data/spec/dummy/public/icons/cup_link.png +0 -0
- data/spec/dummy/public/icons/cursor.png +0 -0
- data/spec/dummy/public/icons/cut.png +0 -0
- data/spec/dummy/public/icons/cut_red.png +0 -0
- data/spec/dummy/public/icons/database.png +0 -0
- data/spec/dummy/public/icons/database_add.png +0 -0
- data/spec/dummy/public/icons/database_connect.png +0 -0
- data/spec/dummy/public/icons/database_delete.png +0 -0
- data/spec/dummy/public/icons/database_edit.png +0 -0
- data/spec/dummy/public/icons/database_error.png +0 -0
- data/spec/dummy/public/icons/database_gear.png +0 -0
- data/spec/dummy/public/icons/database_go.png +0 -0
- data/spec/dummy/public/icons/database_key.png +0 -0
- data/spec/dummy/public/icons/database_lightning.png +0 -0
- data/spec/dummy/public/icons/database_link.png +0 -0
- data/spec/dummy/public/icons/database_refresh.png +0 -0
- data/spec/dummy/public/icons/database_table.png +0 -0
- data/spec/dummy/public/icons/date.png +0 -0
- data/spec/dummy/public/icons/date_add.png +0 -0
- data/spec/dummy/public/icons/date_delete.png +0 -0
- data/spec/dummy/public/icons/date_edit.png +0 -0
- data/spec/dummy/public/icons/date_error.png +0 -0
- data/spec/dummy/public/icons/date_go.png +0 -0
- data/spec/dummy/public/icons/date_link.png +0 -0
- data/spec/dummy/public/icons/date_magnify.png +0 -0
- data/spec/dummy/public/icons/date_next.png +0 -0
- data/spec/dummy/public/icons/date_previous.png +0 -0
- data/spec/dummy/public/icons/delete.png +0 -0
- data/spec/dummy/public/icons/disconnect.png +0 -0
- data/spec/dummy/public/icons/disk.png +0 -0
- data/spec/dummy/public/icons/disk_multiple.png +0 -0
- data/spec/dummy/public/icons/door.png +0 -0
- data/spec/dummy/public/icons/door_open.png +0 -0
- data/spec/dummy/public/icons/drink.png +0 -0
- data/spec/dummy/public/icons/drink_empty.png +0 -0
- data/spec/dummy/public/icons/drive.png +0 -0
- data/spec/dummy/public/icons/drive_add.png +0 -0
- data/spec/dummy/public/icons/drive_burn.png +0 -0
- data/spec/dummy/public/icons/drive_cd.png +0 -0
- data/spec/dummy/public/icons/drive_cd_empty.png +0 -0
- data/spec/dummy/public/icons/drive_delete.png +0 -0
- data/spec/dummy/public/icons/drive_disk.png +0 -0
- data/spec/dummy/public/icons/drive_edit.png +0 -0
- data/spec/dummy/public/icons/drive_error.png +0 -0
- data/spec/dummy/public/icons/drive_go.png +0 -0
- data/spec/dummy/public/icons/drive_key.png +0 -0
- data/spec/dummy/public/icons/drive_link.png +0 -0
- data/spec/dummy/public/icons/drive_magnify.png +0 -0
- data/spec/dummy/public/icons/drive_network.png +0 -0
- data/spec/dummy/public/icons/drive_rename.png +0 -0
- data/spec/dummy/public/icons/drive_user.png +0 -0
- data/spec/dummy/public/icons/drive_web.png +0 -0
- data/spec/dummy/public/icons/dvd.png +0 -0
- data/spec/dummy/public/icons/dvd_add.png +0 -0
- data/spec/dummy/public/icons/dvd_delete.png +0 -0
- data/spec/dummy/public/icons/dvd_edit.png +0 -0
- data/spec/dummy/public/icons/dvd_error.png +0 -0
- data/spec/dummy/public/icons/dvd_go.png +0 -0
- data/spec/dummy/public/icons/dvd_key.png +0 -0
- data/spec/dummy/public/icons/dvd_link.png +0 -0
- data/spec/dummy/public/icons/email.png +0 -0
- data/spec/dummy/public/icons/email_add.png +0 -0
- data/spec/dummy/public/icons/email_attach.png +0 -0
- data/spec/dummy/public/icons/email_delete.png +0 -0
- data/spec/dummy/public/icons/email_edit.png +0 -0
- data/spec/dummy/public/icons/email_error.png +0 -0
- data/spec/dummy/public/icons/email_go.png +0 -0
- data/spec/dummy/public/icons/email_link.png +0 -0
- data/spec/dummy/public/icons/email_open.png +0 -0
- data/spec/dummy/public/icons/email_open_image.png +0 -0
- data/spec/dummy/public/icons/emoticon_evilgrin.png +0 -0
- data/spec/dummy/public/icons/emoticon_grin.png +0 -0
- data/spec/dummy/public/icons/emoticon_happy.png +0 -0
- data/spec/dummy/public/icons/emoticon_smile.png +0 -0
- data/spec/dummy/public/icons/emoticon_surprised.png +0 -0
- data/spec/dummy/public/icons/emoticon_tongue.png +0 -0
- data/spec/dummy/public/icons/emoticon_unhappy.png +0 -0
- data/spec/dummy/public/icons/emoticon_waii.png +0 -0
- data/spec/dummy/public/icons/emoticon_wink.png +0 -0
- data/spec/dummy/public/icons/error.png +0 -0
- data/spec/dummy/public/icons/error_add.png +0 -0
- data/spec/dummy/public/icons/error_delete.png +0 -0
- data/spec/dummy/public/icons/error_go.png +0 -0
- data/spec/dummy/public/icons/exclamation.png +0 -0
- data/spec/dummy/public/icons/eye.png +0 -0
- data/spec/dummy/public/icons/feed.png +0 -0
- data/spec/dummy/public/icons/feed_add.png +0 -0
- data/spec/dummy/public/icons/feed_delete.png +0 -0
- data/spec/dummy/public/icons/feed_disk.png +0 -0
- data/spec/dummy/public/icons/feed_edit.png +0 -0
- data/spec/dummy/public/icons/feed_error.png +0 -0
- data/spec/dummy/public/icons/feed_go.png +0 -0
- data/spec/dummy/public/icons/feed_key.png +0 -0
- data/spec/dummy/public/icons/feed_link.png +0 -0
- data/spec/dummy/public/icons/feed_magnify.png +0 -0
- data/spec/dummy/public/icons/female.png +0 -0
- data/spec/dummy/public/icons/film.png +0 -0
- data/spec/dummy/public/icons/film_add.png +0 -0
- data/spec/dummy/public/icons/film_delete.png +0 -0
- data/spec/dummy/public/icons/film_edit.png +0 -0
- data/spec/dummy/public/icons/film_error.png +0 -0
- data/spec/dummy/public/icons/film_go.png +0 -0
- data/spec/dummy/public/icons/film_key.png +0 -0
- data/spec/dummy/public/icons/film_link.png +0 -0
- data/spec/dummy/public/icons/film_save.png +0 -0
- data/spec/dummy/public/icons/find.png +0 -0
- data/spec/dummy/public/icons/flag_blue.png +0 -0
- data/spec/dummy/public/icons/flag_green.png +0 -0
- data/spec/dummy/public/icons/flag_orange.png +0 -0
- data/spec/dummy/public/icons/flag_pink.png +0 -0
- data/spec/dummy/public/icons/flag_purple.png +0 -0
- data/spec/dummy/public/icons/flag_red.png +0 -0
- data/spec/dummy/public/icons/flag_yellow.png +0 -0
- data/spec/dummy/public/icons/folder.png +0 -0
- data/spec/dummy/public/icons/folder_add.png +0 -0
- data/spec/dummy/public/icons/folder_bell.png +0 -0
- data/spec/dummy/public/icons/folder_brick.png +0 -0
- data/spec/dummy/public/icons/folder_bug.png +0 -0
- data/spec/dummy/public/icons/folder_camera.png +0 -0
- data/spec/dummy/public/icons/folder_database.png +0 -0
- data/spec/dummy/public/icons/folder_delete.png +0 -0
- data/spec/dummy/public/icons/folder_edit.png +0 -0
- data/spec/dummy/public/icons/folder_error.png +0 -0
- data/spec/dummy/public/icons/folder_explore.png +0 -0
- data/spec/dummy/public/icons/folder_feed.png +0 -0
- data/spec/dummy/public/icons/folder_find.png +0 -0
- data/spec/dummy/public/icons/folder_go.png +0 -0
- data/spec/dummy/public/icons/folder_heart.png +0 -0
- data/spec/dummy/public/icons/folder_image.png +0 -0
- data/spec/dummy/public/icons/folder_key.png +0 -0
- data/spec/dummy/public/icons/folder_lightbulb.png +0 -0
- data/spec/dummy/public/icons/folder_link.png +0 -0
- data/spec/dummy/public/icons/folder_magnify.png +0 -0
- data/spec/dummy/public/icons/folder_page.png +0 -0
- data/spec/dummy/public/icons/folder_page_white.png +0 -0
- data/spec/dummy/public/icons/folder_palette.png +0 -0
- data/spec/dummy/public/icons/folder_picture.png +0 -0
- data/spec/dummy/public/icons/folder_star.png +0 -0
- data/spec/dummy/public/icons/folder_table.png +0 -0
- data/spec/dummy/public/icons/folder_user.png +0 -0
- data/spec/dummy/public/icons/folder_wrench.png +0 -0
- data/spec/dummy/public/icons/font.png +0 -0
- data/spec/dummy/public/icons/font_add.png +0 -0
- data/spec/dummy/public/icons/font_delete.png +0 -0
- data/spec/dummy/public/icons/font_go.png +0 -0
- data/spec/dummy/public/icons/group_add.png +0 -0
- data/spec/dummy/public/icons/group_delete.png +0 -0
- data/spec/dummy/public/icons/group_edit.png +0 -0
- data/spec/dummy/public/icons/group_error.png +0 -0
- data/spec/dummy/public/icons/group_gear.png +0 -0
- data/spec/dummy/public/icons/group_go.png +0 -0
- data/spec/dummy/public/icons/group_key.png +0 -0
- data/spec/dummy/public/icons/group_link.png +0 -0
- data/spec/dummy/public/icons/heart.png +0 -0
- data/spec/dummy/public/icons/heart_add.png +0 -0
- data/spec/dummy/public/icons/heart_delete.png +0 -0
- data/spec/dummy/public/icons/help.png +0 -0
- data/spec/dummy/public/icons/hourglass.png +0 -0
- data/spec/dummy/public/icons/hourglass_add.png +0 -0
- data/spec/dummy/public/icons/hourglass_delete.png +0 -0
- data/spec/dummy/public/icons/hourglass_go.png +0 -0
- data/spec/dummy/public/icons/hourglass_link.png +0 -0
- data/spec/dummy/public/icons/house.png +0 -0
- data/spec/dummy/public/icons/house_go.png +0 -0
- data/spec/dummy/public/icons/house_link.png +0 -0
- data/spec/dummy/public/icons/html.png +0 -0
- data/spec/dummy/public/icons/html_add.png +0 -0
- data/spec/dummy/public/icons/html_delete.png +0 -0
- data/spec/dummy/public/icons/html_go.png +0 -0
- data/spec/dummy/public/icons/html_valid.png +0 -0
- data/spec/dummy/public/icons/image.png +0 -0
- data/spec/dummy/public/icons/image_add.png +0 -0
- data/spec/dummy/public/icons/image_delete.png +0 -0
- data/spec/dummy/public/icons/image_edit.png +0 -0
- data/spec/dummy/public/icons/image_link.png +0 -0
- data/spec/dummy/public/icons/images.png +0 -0
- data/spec/dummy/public/icons/information.png +0 -0
- data/spec/dummy/public/icons/ipod.png +0 -0
- data/spec/dummy/public/icons/ipod_cast.png +0 -0
- data/spec/dummy/public/icons/ipod_cast_add.png +0 -0
- data/spec/dummy/public/icons/ipod_cast_delete.png +0 -0
- data/spec/dummy/public/icons/ipod_sound.png +0 -0
- data/spec/dummy/public/icons/joystick.png +0 -0
- data/spec/dummy/public/icons/joystick_add.png +0 -0
- data/spec/dummy/public/icons/joystick_delete.png +0 -0
- data/spec/dummy/public/icons/joystick_error.png +0 -0
- data/spec/dummy/public/icons/key.png +0 -0
- data/spec/dummy/public/icons/key_add.png +0 -0
- data/spec/dummy/public/icons/key_delete.png +0 -0
- data/spec/dummy/public/icons/key_go.png +0 -0
- data/spec/dummy/public/icons/keyboard.png +0 -0
- data/spec/dummy/public/icons/keyboard_add.png +0 -0
- data/spec/dummy/public/icons/keyboard_delete.png +0 -0
- data/spec/dummy/public/icons/keyboard_magnify.png +0 -0
- data/spec/dummy/public/icons/layers.png +0 -0
- data/spec/dummy/public/icons/layout.png +0 -0
- data/spec/dummy/public/icons/layout_add.png +0 -0
- data/spec/dummy/public/icons/layout_content.png +0 -0
- data/spec/dummy/public/icons/layout_delete.png +0 -0
- data/spec/dummy/public/icons/layout_edit.png +0 -0
- data/spec/dummy/public/icons/layout_error.png +0 -0
- data/spec/dummy/public/icons/layout_header.png +0 -0
- data/spec/dummy/public/icons/layout_link.png +0 -0
- data/spec/dummy/public/icons/layout_sidebar.png +0 -0
- data/spec/dummy/public/icons/lightbulb.png +0 -0
- data/spec/dummy/public/icons/lightbulb_add.png +0 -0
- data/spec/dummy/public/icons/lightbulb_delete.png +0 -0
- data/spec/dummy/public/icons/lightbulb_off.png +0 -0
- data/spec/dummy/public/icons/lightning.png +0 -0
- data/spec/dummy/public/icons/lightning_add.png +0 -0
- data/spec/dummy/public/icons/lightning_delete.png +0 -0
- data/spec/dummy/public/icons/lightning_go.png +0 -0
- data/spec/dummy/public/icons/link.png +0 -0
- data/spec/dummy/public/icons/link_add.png +0 -0
- data/spec/dummy/public/icons/link_break.png +0 -0
- data/spec/dummy/public/icons/link_delete.png +0 -0
- data/spec/dummy/public/icons/link_edit.png +0 -0
- data/spec/dummy/public/icons/link_error.png +0 -0
- data/spec/dummy/public/icons/link_go.png +0 -0
- data/spec/dummy/public/icons/lock.png +0 -0
- data/spec/dummy/public/icons/lock_add.png +0 -0
- data/spec/dummy/public/icons/lock_break.png +0 -0
- data/spec/dummy/public/icons/lock_delete.png +0 -0
- data/spec/dummy/public/icons/lock_edit.png +0 -0
- data/spec/dummy/public/icons/lock_go.png +0 -0
- data/spec/dummy/public/icons/lock_open.png +0 -0
- data/spec/dummy/public/icons/lorry.png +0 -0
- data/spec/dummy/public/icons/lorry_add.png +0 -0
- data/spec/dummy/public/icons/lorry_delete.png +0 -0
- data/spec/dummy/public/icons/lorry_error.png +0 -0
- data/spec/dummy/public/icons/lorry_flatbed.png +0 -0
- data/spec/dummy/public/icons/lorry_go.png +0 -0
- data/spec/dummy/public/icons/lorry_link.png +0 -0
- data/spec/dummy/public/icons/magifier_zoom_out.png +0 -0
- data/spec/dummy/public/icons/magnifier.png +0 -0
- data/spec/dummy/public/icons/magnifier_zoom_in.png +0 -0
- data/spec/dummy/public/icons/male.png +0 -0
- data/spec/dummy/public/icons/map.png +0 -0
- data/spec/dummy/public/icons/map_add.png +0 -0
- data/spec/dummy/public/icons/map_delete.png +0 -0
- data/spec/dummy/public/icons/map_edit.png +0 -0
- data/spec/dummy/public/icons/map_go.png +0 -0
- data/spec/dummy/public/icons/map_magnify.png +0 -0
- data/spec/dummy/public/icons/medal_bronze_1.png +0 -0
- data/spec/dummy/public/icons/medal_bronze_2.png +0 -0
- data/spec/dummy/public/icons/medal_bronze_3.png +0 -0
- data/spec/dummy/public/icons/medal_bronze_add.png +0 -0
- data/spec/dummy/public/icons/medal_bronze_delete.png +0 -0
- data/spec/dummy/public/icons/medal_gold_1.png +0 -0
- data/spec/dummy/public/icons/medal_gold_2.png +0 -0
- data/spec/dummy/public/icons/medal_gold_3.png +0 -0
- data/spec/dummy/public/icons/medal_gold_add.png +0 -0
- data/spec/dummy/public/icons/medal_gold_delete.png +0 -0
- data/spec/dummy/public/icons/medal_silver_1.png +0 -0
- data/spec/dummy/public/icons/medal_silver_2.png +0 -0
- data/spec/dummy/public/icons/medal_silver_3.png +0 -0
- data/spec/dummy/public/icons/medal_silver_add.png +0 -0
- data/spec/dummy/public/icons/medal_silver_delete.png +0 -0
- data/spec/dummy/public/icons/money.png +0 -0
- data/spec/dummy/public/icons/money_add.png +0 -0
- data/spec/dummy/public/icons/money_delete.png +0 -0
- data/spec/dummy/public/icons/money_dollar.png +0 -0
- data/spec/dummy/public/icons/money_euro.png +0 -0
- data/spec/dummy/public/icons/money_pound.png +0 -0
- data/spec/dummy/public/icons/money_yen.png +0 -0
- data/spec/dummy/public/icons/monitor.png +0 -0
- data/spec/dummy/public/icons/monitor_add.png +0 -0
- data/spec/dummy/public/icons/monitor_delete.png +0 -0
- data/spec/dummy/public/icons/monitor_edit.png +0 -0
- data/spec/dummy/public/icons/monitor_error.png +0 -0
- data/spec/dummy/public/icons/monitor_go.png +0 -0
- data/spec/dummy/public/icons/monitor_lightning.png +0 -0
- data/spec/dummy/public/icons/monitor_link.png +0 -0
- data/spec/dummy/public/icons/mouse.png +0 -0
- data/spec/dummy/public/icons/mouse_add.png +0 -0
- data/spec/dummy/public/icons/mouse_delete.png +0 -0
- data/spec/dummy/public/icons/mouse_error.png +0 -0
- data/spec/dummy/public/icons/music.png +0 -0
- data/spec/dummy/public/icons/new.png +0 -0
- data/spec/dummy/public/icons/newspaper.png +0 -0
- data/spec/dummy/public/icons/newspaper_add.png +0 -0
- data/spec/dummy/public/icons/newspaper_delete.png +0 -0
- data/spec/dummy/public/icons/newspaper_go.png +0 -0
- data/spec/dummy/public/icons/newspaper_link.png +0 -0
- data/spec/dummy/public/icons/note.png +0 -0
- data/spec/dummy/public/icons/note_add.png +0 -0
- data/spec/dummy/public/icons/note_delete.png +0 -0
- data/spec/dummy/public/icons/note_edit.png +0 -0
- data/spec/dummy/public/icons/note_error.png +0 -0
- data/spec/dummy/public/icons/note_go.png +0 -0
- data/spec/dummy/public/icons/overlays.png +0 -0
- data/spec/dummy/public/icons/package.png +0 -0
- data/spec/dummy/public/icons/package_add.png +0 -0
- data/spec/dummy/public/icons/package_delete.png +0 -0
- data/spec/dummy/public/icons/package_go.png +0 -0
- data/spec/dummy/public/icons/package_green.png +0 -0
- data/spec/dummy/public/icons/package_link.png +0 -0
- data/spec/dummy/public/icons/page.png +0 -0
- data/spec/dummy/public/icons/page_add.png +0 -0
- data/spec/dummy/public/icons/page_attach.png +0 -0
- data/spec/dummy/public/icons/page_code.png +0 -0
- data/spec/dummy/public/icons/page_copy.png +0 -0
- data/spec/dummy/public/icons/page_delete.png +0 -0
- data/spec/dummy/public/icons/page_edit.png +0 -0
- data/spec/dummy/public/icons/page_error.png +0 -0
- data/spec/dummy/public/icons/page_excel.png +0 -0
- data/spec/dummy/public/icons/page_find.png +0 -0
- data/spec/dummy/public/icons/page_gear.png +0 -0
- data/spec/dummy/public/icons/page_go.png +0 -0
- data/spec/dummy/public/icons/page_green.png +0 -0
- data/spec/dummy/public/icons/page_key.png +0 -0
- data/spec/dummy/public/icons/page_link.png +0 -0
- data/spec/dummy/public/icons/page_paintbrush.png +0 -0
- data/spec/dummy/public/icons/page_paste.png +0 -0
- data/spec/dummy/public/icons/page_red.png +0 -0
- data/spec/dummy/public/icons/page_refresh.png +0 -0
- data/spec/dummy/public/icons/page_save.png +0 -0
- data/spec/dummy/public/icons/page_white.png +0 -0
- data/spec/dummy/public/icons/page_white_acrobat.png +0 -0
- data/spec/dummy/public/icons/page_white_actionscript.png +0 -0
- data/spec/dummy/public/icons/page_white_add.png +0 -0
- data/spec/dummy/public/icons/page_white_c.png +0 -0
- data/spec/dummy/public/icons/page_white_camera.png +0 -0
- data/spec/dummy/public/icons/page_white_cd.png +0 -0
- data/spec/dummy/public/icons/page_white_code.png +0 -0
- data/spec/dummy/public/icons/page_white_code_red.png +0 -0
- data/spec/dummy/public/icons/page_white_coldfusion.png +0 -0
- data/spec/dummy/public/icons/page_white_compressed.png +0 -0
- data/spec/dummy/public/icons/page_white_copy.png +0 -0
- data/spec/dummy/public/icons/page_white_cplusplus.png +0 -0
- data/spec/dummy/public/icons/page_white_csharp.png +0 -0
- data/spec/dummy/public/icons/page_white_cup.png +0 -0
- data/spec/dummy/public/icons/page_white_database.png +0 -0
- data/spec/dummy/public/icons/page_white_delete.png +0 -0
- data/spec/dummy/public/icons/page_white_dvd.png +0 -0
- data/spec/dummy/public/icons/page_white_edit.png +0 -0
- data/spec/dummy/public/icons/page_white_error.png +0 -0
- data/spec/dummy/public/icons/page_white_excel.png +0 -0
- data/spec/dummy/public/icons/page_white_find.png +0 -0
- data/spec/dummy/public/icons/page_white_flash.png +0 -0
- data/spec/dummy/public/icons/page_white_freehand.png +0 -0
- data/spec/dummy/public/icons/page_white_gear.png +0 -0
- data/spec/dummy/public/icons/page_white_get.png +0 -0
- data/spec/dummy/public/icons/page_white_go.png +0 -0
- data/spec/dummy/public/icons/page_white_h.png +0 -0
- data/spec/dummy/public/icons/page_white_horizontal.png +0 -0
- data/spec/dummy/public/icons/page_white_key.png +0 -0
- data/spec/dummy/public/icons/page_white_lightning.png +0 -0
- data/spec/dummy/public/icons/page_white_link.png +0 -0
- data/spec/dummy/public/icons/page_white_magnify.png +0 -0
- data/spec/dummy/public/icons/page_white_medal.png +0 -0
- data/spec/dummy/public/icons/page_white_office.png +0 -0
- data/spec/dummy/public/icons/page_white_paint.png +0 -0
- data/spec/dummy/public/icons/page_white_paintbrush.png +0 -0
- data/spec/dummy/public/icons/page_white_paste.png +0 -0
- data/spec/dummy/public/icons/page_white_php.png +0 -0
- data/spec/dummy/public/icons/page_white_picture.png +0 -0
- data/spec/dummy/public/icons/page_white_powerpoint.png +0 -0
- data/spec/dummy/public/icons/page_white_put.png +0 -0
- data/spec/dummy/public/icons/page_white_ruby.png +0 -0
- data/spec/dummy/public/icons/page_white_stack.png +0 -0
- data/spec/dummy/public/icons/page_white_star.png +0 -0
- data/spec/dummy/public/icons/page_white_swoosh.png +0 -0
- data/spec/dummy/public/icons/page_white_text.png +0 -0
- data/spec/dummy/public/icons/page_white_text_width.png +0 -0
- data/spec/dummy/public/icons/page_white_tux.png +0 -0
- data/spec/dummy/public/icons/page_white_vector.png +0 -0
- data/spec/dummy/public/icons/page_white_visualstudio.png +0 -0
- data/spec/dummy/public/icons/page_white_width.png +0 -0
- data/spec/dummy/public/icons/page_white_word.png +0 -0
- data/spec/dummy/public/icons/page_white_world.png +0 -0
- data/spec/dummy/public/icons/page_white_wrench.png +0 -0
- data/spec/dummy/public/icons/page_white_zip.png +0 -0
- data/spec/dummy/public/icons/page_word.png +0 -0
- data/spec/dummy/public/icons/page_world.png +0 -0
- data/spec/dummy/public/icons/paintbrush.png +0 -0
- data/spec/dummy/public/icons/paintcan.png +0 -0
- data/spec/dummy/public/icons/palette.png +0 -0
- data/spec/dummy/public/icons/paste_plain.png +0 -0
- data/spec/dummy/public/icons/paste_word.png +0 -0
- data/spec/dummy/public/icons/pencil.png +0 -0
- data/spec/dummy/public/icons/pencil_add.png +0 -0
- data/spec/dummy/public/icons/pencil_delete.png +0 -0
- data/spec/dummy/public/icons/pencil_go.png +0 -0
- data/spec/dummy/public/icons/phone.png +0 -0
- data/spec/dummy/public/icons/phone_add.png +0 -0
- data/spec/dummy/public/icons/phone_delete.png +0 -0
- data/spec/dummy/public/icons/phone_sound.png +0 -0
- data/spec/dummy/public/icons/photo.png +0 -0
- data/spec/dummy/public/icons/photo_add.png +0 -0
- data/spec/dummy/public/icons/photo_delete.png +0 -0
- data/spec/dummy/public/icons/photo_link.png +0 -0
- data/spec/dummy/public/icons/photos.png +0 -0
- data/spec/dummy/public/icons/picture.png +0 -0
- data/spec/dummy/public/icons/picture_add.png +0 -0
- data/spec/dummy/public/icons/picture_delete.png +0 -0
- data/spec/dummy/public/icons/picture_edit.png +0 -0
- data/spec/dummy/public/icons/picture_empty.png +0 -0
- data/spec/dummy/public/icons/picture_error.png +0 -0
- data/spec/dummy/public/icons/picture_go.png +0 -0
- data/spec/dummy/public/icons/picture_key.png +0 -0
- data/spec/dummy/public/icons/picture_link.png +0 -0
- data/spec/dummy/public/icons/picture_save.png +0 -0
- data/spec/dummy/public/icons/pictures.png +0 -0
- data/spec/dummy/public/icons/pilcrow.png +0 -0
- data/spec/dummy/public/icons/pill.png +0 -0
- data/spec/dummy/public/icons/pill_add.png +0 -0
- data/spec/dummy/public/icons/pill_delete.png +0 -0
- data/spec/dummy/public/icons/pill_go.png +0 -0
- data/spec/dummy/public/icons/plugin.png +0 -0
- data/spec/dummy/public/icons/plugin_add.png +0 -0
- data/spec/dummy/public/icons/plugin_delete.png +0 -0
- data/spec/dummy/public/icons/plugin_disabled.png +0 -0
- data/spec/dummy/public/icons/plugin_edit.png +0 -0
- data/spec/dummy/public/icons/plugin_error.png +0 -0
- data/spec/dummy/public/icons/plugin_go.png +0 -0
- data/spec/dummy/public/icons/plugin_link.png +0 -0
- data/spec/dummy/public/icons/printer_add.png +0 -0
- data/spec/dummy/public/icons/printer_delete.png +0 -0
- data/spec/dummy/public/icons/printer_empty.png +0 -0
- data/spec/dummy/public/icons/printer_error.png +0 -0
- data/spec/dummy/public/icons/rainbow.png +0 -0
- data/spec/dummy/public/icons/report.png +0 -0
- data/spec/dummy/public/icons/report_add.png +0 -0
- data/spec/dummy/public/icons/report_delete.png +0 -0
- data/spec/dummy/public/icons/report_edit.png +0 -0
- data/spec/dummy/public/icons/report_key.png +0 -0
- data/spec/dummy/public/icons/report_link.png +0 -0
- data/spec/dummy/public/icons/report_picture.png +0 -0
- data/spec/dummy/public/icons/report_user.png +0 -0
- data/spec/dummy/public/icons/report_word.png +0 -0
- data/spec/dummy/public/icons/resultset_first.png +0 -0
- data/spec/dummy/public/icons/resultset_last.png +0 -0
- data/spec/dummy/public/icons/resultset_next.png +0 -0
- data/spec/dummy/public/icons/resultset_previous.png +0 -0
- data/spec/dummy/public/icons/rosette.png +0 -0
- data/spec/dummy/public/icons/rss.png +0 -0
- data/spec/dummy/public/icons/rss_add.png +0 -0
- data/spec/dummy/public/icons/rss_delete.png +0 -0
- data/spec/dummy/public/icons/rss_go.png +0 -0
- data/spec/dummy/public/icons/rss_valid.png +0 -0
- data/spec/dummy/public/icons/ruby.png +0 -0
- data/spec/dummy/public/icons/ruby_add.png +0 -0
- data/spec/dummy/public/icons/ruby_delete.png +0 -0
- data/spec/dummy/public/icons/ruby_gear.png +0 -0
- data/spec/dummy/public/icons/ruby_get.png +0 -0
- data/spec/dummy/public/icons/ruby_go.png +0 -0
- data/spec/dummy/public/icons/ruby_key.png +0 -0
- data/spec/dummy/public/icons/ruby_link.png +0 -0
- data/spec/dummy/public/icons/ruby_put.png +0 -0
- data/spec/dummy/public/icons/script_code.png +0 -0
- data/spec/dummy/public/icons/script_code_red.png +0 -0
- data/spec/dummy/public/icons/script_delete.png +0 -0
- data/spec/dummy/public/icons/script_edit.png +0 -0
- data/spec/dummy/public/icons/script_error.png +0 -0
- data/spec/dummy/public/icons/script_gear.png +0 -0
- data/spec/dummy/public/icons/script_lightning.png +0 -0
- data/spec/dummy/public/icons/script_link.png +0 -0
- data/spec/dummy/public/icons/script_palette.png +0 -0
- data/spec/dummy/public/icons/script_save.png +0 -0
- data/spec/dummy/public/icons/server.png +0 -0
- data/spec/dummy/public/icons/server_add.png +0 -0
- data/spec/dummy/public/icons/server_chart.png +0 -0
- data/spec/dummy/public/icons/server_compressed.png +0 -0
- data/spec/dummy/public/icons/server_connect.png +0 -0
- data/spec/dummy/public/icons/server_database.png +0 -0
- data/spec/dummy/public/icons/server_delete.png +0 -0
- data/spec/dummy/public/icons/server_edit.png +0 -0
- data/spec/dummy/public/icons/server_error.png +0 -0
- data/spec/dummy/public/icons/server_go.png +0 -0
- data/spec/dummy/public/icons/server_key.png +0 -0
- data/spec/dummy/public/icons/server_lightning.png +0 -0
- data/spec/dummy/public/icons/server_link.png +0 -0
- data/spec/dummy/public/icons/server_uncompressed.png +0 -0
- data/spec/dummy/public/icons/shading.png +0 -0
- data/spec/dummy/public/icons/shape_align_bottom.png +0 -0
- data/spec/dummy/public/icons/shape_align_center.png +0 -0
- data/spec/dummy/public/icons/shape_align_left.png +0 -0
- data/spec/dummy/public/icons/shape_align_middle.png +0 -0
- data/spec/dummy/public/icons/shape_align_right.png +0 -0
- data/spec/dummy/public/icons/shape_align_top.png +0 -0
- data/spec/dummy/public/icons/shape_flip_horizontal.png +0 -0
- data/spec/dummy/public/icons/shape_flip_vertical.png +0 -0
- data/spec/dummy/public/icons/shape_group.png +0 -0
- data/spec/dummy/public/icons/shape_handles.png +0 -0
- data/spec/dummy/public/icons/shape_move_back.png +0 -0
- data/spec/dummy/public/icons/shape_move_backwards.png +0 -0
- data/spec/dummy/public/icons/shape_move_forwards.png +0 -0
- data/spec/dummy/public/icons/shape_move_front.png +0 -0
- data/spec/dummy/public/icons/shape_rotate_anticlockwise.png +0 -0
- data/spec/dummy/public/icons/shape_rotate_clockwise.png +0 -0
- data/spec/dummy/public/icons/shape_square.png +0 -0
- data/spec/dummy/public/icons/shape_square_add.png +0 -0
- data/spec/dummy/public/icons/shape_square_delete.png +0 -0
- data/spec/dummy/public/icons/shape_square_edit.png +0 -0
- data/spec/dummy/public/icons/shape_square_error.png +0 -0
- data/spec/dummy/public/icons/shape_square_go.png +0 -0
- data/spec/dummy/public/icons/shape_square_key.png +0 -0
- data/spec/dummy/public/icons/shape_square_link.png +0 -0
- data/spec/dummy/public/icons/shape_ungroup.png +0 -0
- data/spec/dummy/public/icons/shield.png +0 -0
- data/spec/dummy/public/icons/shield_add.png +0 -0
- data/spec/dummy/public/icons/shield_delete.png +0 -0
- data/spec/dummy/public/icons/shield_go.png +0 -0
- data/spec/dummy/public/icons/sitemap.png +0 -0
- data/spec/dummy/public/icons/sitemap_color.png +0 -0
- data/spec/dummy/public/icons/sound.png +0 -0
- data/spec/dummy/public/icons/sound_add.png +0 -0
- data/spec/dummy/public/icons/sound_delete.png +0 -0
- data/spec/dummy/public/icons/sound_low.png +0 -0
- data/spec/dummy/public/icons/sound_mute.png +0 -0
- data/spec/dummy/public/icons/sound_none.png +0 -0
- data/spec/dummy/public/icons/spellcheck.png +0 -0
- data/spec/dummy/public/icons/sport_8ball.png +0 -0
- data/spec/dummy/public/icons/sport_basketball.png +0 -0
- data/spec/dummy/public/icons/sport_football.png +0 -0
- data/spec/dummy/public/icons/sport_golf.png +0 -0
- data/spec/dummy/public/icons/sport_raquet.png +0 -0
- data/spec/dummy/public/icons/sport_shuttlecock.png +0 -0
- data/spec/dummy/public/icons/sport_soccer.png +0 -0
- data/spec/dummy/public/icons/sport_tennis.png +0 -0
- data/spec/dummy/public/icons/star.png +0 -0
- data/spec/dummy/public/icons/status_away.png +0 -0
- data/spec/dummy/public/icons/status_busy.png +0 -0
- data/spec/dummy/public/icons/status_offline.png +0 -0
- data/spec/dummy/public/icons/status_online.png +0 -0
- data/spec/dummy/public/icons/stop.png +0 -0
- data/spec/dummy/public/icons/style.png +0 -0
- data/spec/dummy/public/icons/style_add.png +0 -0
- data/spec/dummy/public/icons/style_delete.png +0 -0
- data/spec/dummy/public/icons/style_edit.png +0 -0
- data/spec/dummy/public/icons/style_go.png +0 -0
- data/spec/dummy/public/icons/sum.png +0 -0
- data/spec/dummy/public/icons/tab.png +0 -0
- data/spec/dummy/public/icons/tab_add.png +0 -0
- data/spec/dummy/public/icons/tab_delete.png +0 -0
- data/spec/dummy/public/icons/tab_edit.png +0 -0
- data/spec/dummy/public/icons/tab_go.png +0 -0
- data/spec/dummy/public/icons/table.png +0 -0
- data/spec/dummy/public/icons/table_add.png +0 -0
- data/spec/dummy/public/icons/table_delete.png +0 -0
- data/spec/dummy/public/icons/table_edit.png +0 -0
- data/spec/dummy/public/icons/table_error.png +0 -0
- data/spec/dummy/public/icons/table_gear.png +0 -0
- data/spec/dummy/public/icons/table_key.png +0 -0
- data/spec/dummy/public/icons/table_lightning.png +0 -0
- data/spec/dummy/public/icons/table_link.png +0 -0
- data/spec/dummy/public/icons/table_multiple.png +0 -0
- data/spec/dummy/public/icons/table_refresh.png +0 -0
- data/spec/dummy/public/icons/table_relationship.png +0 -0
- data/spec/dummy/public/icons/table_row_delete.png +0 -0
- data/spec/dummy/public/icons/table_row_insert.png +0 -0
- data/spec/dummy/public/icons/table_save.png +0 -0
- data/spec/dummy/public/icons/table_sort.png +0 -0
- data/spec/dummy/public/icons/tag.png +0 -0
- data/spec/dummy/public/icons/tag_blue.png +0 -0
- data/spec/dummy/public/icons/tag_blue_add.png +0 -0
- data/spec/dummy/public/icons/tag_blue_delete.png +0 -0
- data/spec/dummy/public/icons/tag_blue_edit.png +0 -0
- data/spec/dummy/public/icons/tag_green.png +0 -0
- data/spec/dummy/public/icons/tag_orange.png +0 -0
- data/spec/dummy/public/icons/tag_pink.png +0 -0
- data/spec/dummy/public/icons/tag_purple.png +0 -0
- data/spec/dummy/public/icons/tag_red.png +0 -0
- data/spec/dummy/public/icons/tag_yellow.png +0 -0
- data/spec/dummy/public/icons/telephone.png +0 -0
- data/spec/dummy/public/icons/telephone_add.png +0 -0
- data/spec/dummy/public/icons/telephone_delete.png +0 -0
- data/spec/dummy/public/icons/telephone_edit.png +0 -0
- data/spec/dummy/public/icons/telephone_error.png +0 -0
- data/spec/dummy/public/icons/telephone_go.png +0 -0
- data/spec/dummy/public/icons/telephone_key.png +0 -0
- data/spec/dummy/public/icons/telephone_link.png +0 -0
- data/spec/dummy/public/icons/television.png +0 -0
- data/spec/dummy/public/icons/television_add.png +0 -0
- data/spec/dummy/public/icons/television_delete.png +0 -0
- data/spec/dummy/public/icons/text_align_center.png +0 -0
- data/spec/dummy/public/icons/text_align_justify.png +0 -0
- data/spec/dummy/public/icons/text_align_left.png +0 -0
- data/spec/dummy/public/icons/text_align_right.png +0 -0
- data/spec/dummy/public/icons/text_allcaps.png +0 -0
- data/spec/dummy/public/icons/text_bold.png +0 -0
- data/spec/dummy/public/icons/text_columns.png +0 -0
- data/spec/dummy/public/icons/text_dropcaps.png +0 -0
- data/spec/dummy/public/icons/text_heading_1.png +0 -0
- data/spec/dummy/public/icons/text_heading_2.png +0 -0
- data/spec/dummy/public/icons/text_heading_3.png +0 -0
- data/spec/dummy/public/icons/text_heading_4.png +0 -0
- data/spec/dummy/public/icons/text_heading_5.png +0 -0
- data/spec/dummy/public/icons/text_heading_6.png +0 -0
- data/spec/dummy/public/icons/text_horizontalrule.png +0 -0
- data/spec/dummy/public/icons/text_indent.png +0 -0
- data/spec/dummy/public/icons/text_indent_remove.png +0 -0
- data/spec/dummy/public/icons/text_italic.png +0 -0
- data/spec/dummy/public/icons/text_kerning.png +0 -0
- data/spec/dummy/public/icons/text_letter_omega.png +0 -0
- data/spec/dummy/public/icons/text_letterspacing.png +0 -0
- data/spec/dummy/public/icons/text_linespacing.png +0 -0
- data/spec/dummy/public/icons/text_list_bullets.png +0 -0
- data/spec/dummy/public/icons/text_list_numbers.png +0 -0
- data/spec/dummy/public/icons/text_lowercase.png +0 -0
- data/spec/dummy/public/icons/text_padding_bottom.png +0 -0
- data/spec/dummy/public/icons/text_padding_left.png +0 -0
- data/spec/dummy/public/icons/text_padding_right.png +0 -0
- data/spec/dummy/public/icons/text_padding_top.png +0 -0
- data/spec/dummy/public/icons/text_replace.png +0 -0
- data/spec/dummy/public/icons/text_signature.png +0 -0
- data/spec/dummy/public/icons/text_smallcaps.png +0 -0
- data/spec/dummy/public/icons/text_strikethrough.png +0 -0
- data/spec/dummy/public/icons/text_subscript.png +0 -0
- data/spec/dummy/public/icons/text_superscript.png +0 -0
- data/spec/dummy/public/icons/text_underline.png +0 -0
- data/spec/dummy/public/icons/text_uppercase.png +0 -0
- data/spec/dummy/public/icons/textfield.png +0 -0
- data/spec/dummy/public/icons/textfield_add.png +0 -0
- data/spec/dummy/public/icons/textfield_delete.png +0 -0
- data/spec/dummy/public/icons/textfield_key.png +0 -0
- data/spec/dummy/public/icons/textfield_rename.png +0 -0
- data/spec/dummy/public/icons/thumb_down.png +0 -0
- data/spec/dummy/public/icons/thumb_up.png +0 -0
- data/spec/dummy/public/icons/tick.png +0 -0
- data/spec/dummy/public/icons/time_delete.png +0 -0
- data/spec/dummy/public/icons/transmit.png +0 -0
- data/spec/dummy/public/icons/transmit_add.png +0 -0
- data/spec/dummy/public/icons/transmit_blue.png +0 -0
- data/spec/dummy/public/icons/transmit_delete.png +0 -0
- data/spec/dummy/public/icons/transmit_edit.png +0 -0
- data/spec/dummy/public/icons/transmit_error.png +0 -0
- data/spec/dummy/public/icons/transmit_go.png +0 -0
- data/spec/dummy/public/icons/tux.png +0 -0
- data/spec/dummy/public/icons/user.png +0 -0
- data/spec/dummy/public/icons/user_comment.png +0 -0
- data/spec/dummy/public/icons/user_female.png +0 -0
- data/spec/dummy/public/icons/user_go.png +0 -0
- data/spec/dummy/public/icons/user_gray.png +0 -0
- data/spec/dummy/public/icons/user_green.png +0 -0
- data/spec/dummy/public/icons/user_orange.png +0 -0
- data/spec/dummy/public/icons/user_red.png +0 -0
- data/spec/dummy/public/icons/user_suit.png +0 -0
- data/spec/dummy/public/icons/vcard.png +0 -0
- data/spec/dummy/public/icons/vcard_add.png +0 -0
- data/spec/dummy/public/icons/vcard_delete.png +0 -0
- data/spec/dummy/public/icons/vcard_edit.png +0 -0
- data/spec/dummy/public/icons/vector.png +0 -0
- data/spec/dummy/public/icons/vector_add.png +0 -0
- data/spec/dummy/public/icons/vector_delete.png +0 -0
- data/spec/dummy/public/icons/wand.png +0 -0
- data/spec/dummy/public/icons/weather_clouds.png +0 -0
- data/spec/dummy/public/icons/weather_cloudy.png +0 -0
- data/spec/dummy/public/icons/weather_lightning.png +0 -0
- data/spec/dummy/public/icons/weather_rain.png +0 -0
- data/spec/dummy/public/icons/weather_snow.png +0 -0
- data/spec/dummy/public/icons/weather_sun.png +0 -0
- data/spec/dummy/public/icons/webcam.png +0 -0
- data/spec/dummy/public/icons/webcam_add.png +0 -0
- data/spec/dummy/public/icons/webcam_delete.png +0 -0
- data/spec/dummy/public/icons/webcam_error.png +0 -0
- data/spec/dummy/public/icons/world.png +0 -0
- data/spec/dummy/public/icons/world_add.png +0 -0
- data/spec/dummy/public/icons/world_delete.png +0 -0
- data/spec/dummy/public/icons/world_edit.png +0 -0
- data/spec/dummy/public/icons/world_go.png +0 -0
- data/spec/dummy/public/icons/world_link.png +0 -0
- data/spec/dummy/public/icons/wrench_orange.png +0 -0
- data/spec/dummy/public/icons/xhtml.png +0 -0
- data/spec/dummy/public/icons/xhtml_add.png +0 -0
- data/spec/dummy/public/icons/xhtml_delete.png +0 -0
- data/spec/dummy/public/icons/xhtml_go.png +0 -0
- data/spec/dummy/public/icons/xhtml_valid.png +0 -0
- data/spec/dummy/public/icons/zoom.png +0 -0
- data/spec/dummy/public/icons/zoom_in.png +0 -0
- data/spec/dummy/public/icons/zoom_out.png +0 -0
- data/spec/features/auth_app_spec.rb +77 -0
- data/spec/features/data_import_spec.rb +163 -0
- data/spec/features/reporting_spec.rb +242 -0
- data/spec/features/scripting_spec.rb +308 -0
- data/spec/features/scripting_test_spec.rb +351 -0
- data/spec/features/user_view_spec.rb +164 -0
- data/spec/spec_helper.rb +15 -2
- data/spec/support/clean_db_helpers.rb +2 -2
- data/spec/support/integration_helpers.rb +630 -0
- metadata +981 -2
data/spec/spec_helper.rb
CHANGED
@@ -33,6 +33,9 @@ ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection
|
|
33
33
|
RSpec.configure do |config|
|
34
34
|
config.include DelayedJobHelpers
|
35
35
|
config.include CleanDbHelpers
|
36
|
+
config.include Marty::IntegrationHelpers
|
37
|
+
|
38
|
+
Capybara.default_max_wait_time = 3
|
36
39
|
|
37
40
|
# TODO: Continue to remove should syntax from specs - remove this line to see
|
38
41
|
# errors
|
@@ -47,8 +50,6 @@ RSpec.configure do |config|
|
|
47
50
|
|
48
51
|
config.before(:suite) do
|
49
52
|
DatabaseCleaner.clean_with(:truncation)
|
50
|
-
|
51
|
-
Marty::Engine.load_seed
|
52
53
|
Rails.application.load_seed
|
53
54
|
end
|
54
55
|
|
@@ -56,6 +57,18 @@ RSpec.configure do |config|
|
|
56
57
|
Mcfly.whodunnit = UserHelpers.system_user
|
57
58
|
end
|
58
59
|
|
60
|
+
config.after(:each, :js => true) do |example|
|
61
|
+
# save a screenshot on js failures for CI server testing
|
62
|
+
if example.exception
|
63
|
+
meta = example.metadata
|
64
|
+
filename = File.basename(meta[:file_path])
|
65
|
+
line_number = meta[:line_number]
|
66
|
+
screenshot_name = "screenshot-#{filename}-#{line_number}.png"
|
67
|
+
screenshot_path = "#{Rails.root.join("tmp")}/#{screenshot_name}"
|
68
|
+
page.save_screenshot(screenshot_path)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
59
72
|
config.infer_spec_type_from_file_location!
|
60
73
|
config.use_transactional_fixtures = true
|
61
74
|
|
@@ -7,10 +7,10 @@ module CleanDbHelpers
|
|
7
7
|
`pg_dump -O -Fc #{current_db} > #{clean_file}`
|
8
8
|
end
|
9
9
|
|
10
|
-
def restore_clean_db(clean_file)
|
10
|
+
def restore_clean_db(clean_file, remove_file = true)
|
11
11
|
self.use_transactional_fixtures = false
|
12
12
|
`pg_restore -j 2 -O -x -c -d #{current_db} #{clean_file}`
|
13
|
-
`rm -f #{clean_file}`
|
13
|
+
`rm -f #{clean_file}` if remove_file
|
14
14
|
ActiveRecord::Base.clear_all_connections!
|
15
15
|
ActiveRecord::Base.reset_shared_connection
|
16
16
|
self.use_transactional_fixtures = true
|
@@ -0,0 +1,630 @@
|
|
1
|
+
module Marty::IntegrationHelpers
|
2
|
+
|
3
|
+
MAX_WAIT_TIME = 5.0
|
4
|
+
|
5
|
+
# without rspec-by gem, essentially works as documentation & wait
|
6
|
+
def by message, level=0
|
7
|
+
wait_for_ready(10)
|
8
|
+
pending(message) unless block_given?
|
9
|
+
begin
|
10
|
+
by_start(message)
|
11
|
+
yield
|
12
|
+
ensure
|
13
|
+
by_end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
alias and_by by
|
18
|
+
|
19
|
+
def by_start message
|
20
|
+
if RSpec.configuration.reporter.respond_to? :by_started
|
21
|
+
RSpec.configuration.reporter.by_started(message)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def by_end
|
26
|
+
if RSpec.configuration.reporter.respond_to? :by_ended
|
27
|
+
RSpec.configuration.reporter.by_ended()
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# test setup helpers
|
32
|
+
def populate_test_users
|
33
|
+
(1..2).each { |i|
|
34
|
+
Rails.configuration.marty.roles.each { |role_name|
|
35
|
+
username = "#{role_name}#{i}"
|
36
|
+
next if Marty::User.find_by_login(username)
|
37
|
+
|
38
|
+
user = Marty::User.new
|
39
|
+
user.firstname = user.login = username
|
40
|
+
user.lastname = username
|
41
|
+
user.active = true
|
42
|
+
user.save
|
43
|
+
|
44
|
+
role = Marty::Role.find_by_name(role_name.to_s)
|
45
|
+
|
46
|
+
rails "Oops unknown role: #{role_name}. Was db seeded?" unless role
|
47
|
+
|
48
|
+
user_role = Marty::UserRole.new
|
49
|
+
user_role.user = user
|
50
|
+
user_role.role = role
|
51
|
+
user_role.save!
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
# also create an anon user
|
56
|
+
user = Marty::User.new
|
57
|
+
user.login = user.firstname = user.lastname = "anon"
|
58
|
+
user.active = true
|
59
|
+
user.save
|
60
|
+
end
|
61
|
+
|
62
|
+
# navigation helpers
|
63
|
+
def ensure_on(path)
|
64
|
+
visit(path) unless current_path == path
|
65
|
+
end
|
66
|
+
|
67
|
+
def log_in(username, password)
|
68
|
+
wait_for_ready(10)
|
69
|
+
|
70
|
+
if first("a[data-qtip='Current user']")
|
71
|
+
log_out
|
72
|
+
wait_for_ajax
|
73
|
+
end
|
74
|
+
|
75
|
+
find(:xpath, "//span", text: 'Sign in', match: :first, wait: 5).click
|
76
|
+
find(:xpath, "//span", text: 'Password', match: :first, wait: 5)
|
77
|
+
fill_in("login", :with => username)
|
78
|
+
fill_in("password", :with => password)
|
79
|
+
press("OK")
|
80
|
+
wait_for_ajax
|
81
|
+
end
|
82
|
+
|
83
|
+
def log_in_as(username)
|
84
|
+
Rails.configuration.marty.auth_source = 'local'
|
85
|
+
|
86
|
+
ensure_on("/")
|
87
|
+
log_in(username, Rails.configuration.marty.local_password)
|
88
|
+
ensure_on("/")
|
89
|
+
end
|
90
|
+
|
91
|
+
def log_out
|
92
|
+
press("Current user")
|
93
|
+
press("Sign out")
|
94
|
+
end
|
95
|
+
|
96
|
+
def press button_name, index_of = 0
|
97
|
+
wait_for_element do
|
98
|
+
begin
|
99
|
+
cmp = first("a[data-qtip='#{button_name}']")
|
100
|
+
cmp ||= first(:xpath, ".//a", text: "#{button_name}")
|
101
|
+
cmp ||= find(:btn, button_name, match: :first)
|
102
|
+
cmp.click
|
103
|
+
true
|
104
|
+
rescue
|
105
|
+
find_by_id(ext_button_id(button_name, index_of), visible: :all).click
|
106
|
+
true
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
def popup message = ''
|
112
|
+
by_start('popup: ' + message)
|
113
|
+
wait_for_ready
|
114
|
+
yield if block_given?
|
115
|
+
close_window
|
116
|
+
by_end
|
117
|
+
end
|
118
|
+
|
119
|
+
def close_window
|
120
|
+
find(:xpath, '//img[contains(@class, "x-tool-close")]', wait: 5).click
|
121
|
+
end
|
122
|
+
|
123
|
+
def wait_for_ready wait_time = nil
|
124
|
+
if wait_time
|
125
|
+
find(:status, 'Ready', wait: wait_time)
|
126
|
+
else
|
127
|
+
find(:status, 'Ready')
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
def wait_for_ajax
|
132
|
+
wait_for_ready(10)
|
133
|
+
wait_for_element { !ajax_loading? }
|
134
|
+
wait_for_ready
|
135
|
+
end
|
136
|
+
|
137
|
+
def ajax_loading?
|
138
|
+
page.execute_script <<-JS
|
139
|
+
return Netzke.ajaxIsLoading() || Ext.Ajax.isLoading();
|
140
|
+
JS
|
141
|
+
end
|
142
|
+
|
143
|
+
def zoom_out component
|
144
|
+
wait_for_element do
|
145
|
+
el_id = id_of(component)
|
146
|
+
el = find_by_id(el_id)
|
147
|
+
el.native.send_keys([:control, '0'])
|
148
|
+
el.native.send_keys([:control, '-'])
|
149
|
+
el.native.send_keys([:control, '-'])
|
150
|
+
el.native.send_keys([:control, '-'])
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
def wait_for_element(seconds_to_wait = 2.0, sleeptime = 0.1)
|
155
|
+
res = nil
|
156
|
+
start_time = current_time = Time.now
|
157
|
+
while !res && current_time - start_time < seconds_to_wait
|
158
|
+
begin
|
159
|
+
res = yield
|
160
|
+
rescue
|
161
|
+
ensure
|
162
|
+
sleep sleeptime
|
163
|
+
current_time = Time.now
|
164
|
+
end
|
165
|
+
end
|
166
|
+
res
|
167
|
+
end
|
168
|
+
|
169
|
+
def run_js js_str, seconds_to_wait = MAX_WAIT_TIME, sleeptime = 0.1
|
170
|
+
result = wait_for_element(seconds_to_wait, sleeptime) do
|
171
|
+
res = nil
|
172
|
+
page.document.synchronize { res = page.execute_script(js_str) }
|
173
|
+
res.nil? ? true : res
|
174
|
+
end
|
175
|
+
result
|
176
|
+
end
|
177
|
+
|
178
|
+
# Component helpers
|
179
|
+
def show_submenu text
|
180
|
+
run_js <<-JS
|
181
|
+
Ext.ComponentQuery.query('menuitem[text="#{text}"] menu')[0].show()
|
182
|
+
JS
|
183
|
+
end
|
184
|
+
|
185
|
+
def ext_button_id title, scope = nil, index_of = 0
|
186
|
+
c_str = ext_arg('button{isVisible(true)}', text: "\"#{title}\"")
|
187
|
+
run_js <<-JS
|
188
|
+
return #{ext_find(c_str, scope, index_of)}.id;
|
189
|
+
JS
|
190
|
+
end
|
191
|
+
|
192
|
+
def set_field_value value, field_type='textfield', name=''
|
193
|
+
args1 = name.empty? ? "" : "[fieldLabel='#{name}']"
|
194
|
+
args2 = name.empty? ? "" : "[name='#{name}']"
|
195
|
+
run_js <<-JS
|
196
|
+
var field = Ext.ComponentQuery.query("#{field_type}#{args1}")[0];
|
197
|
+
field = field || Ext.ComponentQuery.query("#{field_type}#{args2}")[0];
|
198
|
+
field.setValue("#{value}");
|
199
|
+
return true;
|
200
|
+
JS
|
201
|
+
end
|
202
|
+
|
203
|
+
def get_total_pages
|
204
|
+
# will get deprecated by Netzke 1.0
|
205
|
+
result = find(:xpath, ".//div[contains(@id, 'tbtext-')]",
|
206
|
+
text: /^of (\d+)$/, match: :first).text
|
207
|
+
result.split(' ')[1].to_i
|
208
|
+
end
|
209
|
+
|
210
|
+
def simple_escape! text
|
211
|
+
text.gsub!(/(\r\n|\n)/, "\\n")
|
212
|
+
text.gsub!(/\t/, "\\t")
|
213
|
+
end
|
214
|
+
|
215
|
+
def paste text, textarea
|
216
|
+
# bit hacky: textarea doesn't like receiving tabs and newlines via fill_in
|
217
|
+
simple_escape!(text)
|
218
|
+
|
219
|
+
find(:xpath, ".//textarea[@name='#{textarea}']")
|
220
|
+
run_js <<-JS
|
221
|
+
#{ext_var(ext_find(ext_arg('textarea', name: textarea)), 'area')}
|
222
|
+
area.setValue("#{text}");
|
223
|
+
JS
|
224
|
+
end
|
225
|
+
|
226
|
+
def btn_disabled? text, grid
|
227
|
+
res = wait_for_element do
|
228
|
+
find_by_id(ext_button_id(text))
|
229
|
+
end
|
230
|
+
!res[:class].match(/disabled/).nil?
|
231
|
+
end
|
232
|
+
|
233
|
+
# Netzke component lookups, arguments for helper methods below
|
234
|
+
# (i.e. component) require JS scripts instead of objects
|
235
|
+
def ext_arg(component, c_args = {})
|
236
|
+
res = component
|
237
|
+
c_args.each do |k, v|
|
238
|
+
res += "[#{k.to_s}=#{v.to_s}]"
|
239
|
+
end
|
240
|
+
res
|
241
|
+
end
|
242
|
+
|
243
|
+
def ext_find(ext_arg_str, scope = nil, index = 0)
|
244
|
+
scope_str = scope.nil? ? '' : ", #{scope}"
|
245
|
+
<<-JS
|
246
|
+
Ext.ComponentQuery.query('#{ext_arg_str}'#{scope_str})[#{index}]
|
247
|
+
JS
|
248
|
+
end
|
249
|
+
|
250
|
+
def ext_var(ext_find_str, var_name='ext_c')
|
251
|
+
<<-JS
|
252
|
+
var #{var_name} = #{ext_find_str};
|
253
|
+
JS
|
254
|
+
end
|
255
|
+
|
256
|
+
def ext_netzkecombo field
|
257
|
+
<<-JS
|
258
|
+
#{ext_find(ext_arg('netzkeremotecombo', name: field))}
|
259
|
+
JS
|
260
|
+
end
|
261
|
+
|
262
|
+
def ext_combo combo_label, c_name='combo'
|
263
|
+
<<-JS
|
264
|
+
#{ext_var(ext_find(ext_arg('combobox', fieldLabel: combo_label)), c_name)}
|
265
|
+
#{c_name} = #{c_name} ||
|
266
|
+
#{ext_find(ext_arg('combobox', name: combo_label))};
|
267
|
+
JS
|
268
|
+
end
|
269
|
+
|
270
|
+
def ext_celleditor(grid_name='grid')
|
271
|
+
<<-JS
|
272
|
+
#{grid_name}.getPlugin('celleditor')
|
273
|
+
JS
|
274
|
+
end
|
275
|
+
|
276
|
+
def ext_row(row, grid_name='grid')
|
277
|
+
<<-JS
|
278
|
+
#{grid_name}.getStore().getAt(#{row})
|
279
|
+
JS
|
280
|
+
end
|
281
|
+
|
282
|
+
def ext_col(col, grid_name='grid')
|
283
|
+
<<-JS
|
284
|
+
#{ext_find(ext_arg('gridcolumn', name: "\"#{col}\""), grid_name)}
|
285
|
+
JS
|
286
|
+
end
|
287
|
+
|
288
|
+
def ext_cell_val(row, col, grid, var_str = 'value')
|
289
|
+
# FOR NETZKE 1.0, use this line for columns
|
290
|
+
# r.get('association_values')['#{col}'] :
|
291
|
+
<<-JS
|
292
|
+
#{ext_var(grid, 'grid')}
|
293
|
+
#{ext_var(ext_col(col, 'grid'), 'col')}
|
294
|
+
#{ext_var(ext_row(row, 'grid'), 'row')}
|
295
|
+
var #{var_str} = col.assoc ?
|
296
|
+
row.get('meta').associationValues['#{col}'] :
|
297
|
+
row.get('#{col}');
|
298
|
+
JS
|
299
|
+
end
|
300
|
+
|
301
|
+
####
|
302
|
+
def gridpanel arg
|
303
|
+
# use these to generate component args for below
|
304
|
+
if /^\d+$/.match(arg)
|
305
|
+
ext_find('gridpanel', nil, arg)
|
306
|
+
else
|
307
|
+
ext_find(ext_arg('gridpanel', name: arg))
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
def treepanel arg
|
312
|
+
if /^\d+$/.match(arg)
|
313
|
+
ext_find('treepanel', nil, arg)
|
314
|
+
else
|
315
|
+
ext_find(ext_arg('treepanel', name: arg))
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
# Netzke helper methods
|
320
|
+
# Grid helpers
|
321
|
+
def id_of component
|
322
|
+
res = run_js <<-JS
|
323
|
+
var c = #{component};
|
324
|
+
return c.view.id;
|
325
|
+
JS
|
326
|
+
res
|
327
|
+
end
|
328
|
+
|
329
|
+
def row_count grid
|
330
|
+
res = run_js <<-JS
|
331
|
+
return #{grid}.getStore().getCount();
|
332
|
+
JS
|
333
|
+
res.to_i
|
334
|
+
end
|
335
|
+
|
336
|
+
def row_total grid
|
337
|
+
res = run_js <<-JS
|
338
|
+
return #{grid}.getStore().getTotalCount();
|
339
|
+
JS
|
340
|
+
res.to_i
|
341
|
+
end
|
342
|
+
|
343
|
+
def row_modified_count grid
|
344
|
+
res = run_js <<-JS
|
345
|
+
return #{grid}.getStore().getUpdatedRecords().length;
|
346
|
+
JS
|
347
|
+
res.to_i
|
348
|
+
end
|
349
|
+
|
350
|
+
def data_desc row, grid
|
351
|
+
res = run_js <<-JS
|
352
|
+
var r = #{grid}.getStore().getAt(#{row.to_i-1});
|
353
|
+
return r.data.desc
|
354
|
+
JS
|
355
|
+
res.gsub(/<.*?>/, '')
|
356
|
+
end
|
357
|
+
|
358
|
+
def click_col col, grid
|
359
|
+
run_js <<-JS
|
360
|
+
#{ext_find(ext_arg('gridcolumn', text: col), grid)}.click();
|
361
|
+
JS
|
362
|
+
end
|
363
|
+
|
364
|
+
def col_values(col, grid, cnt, init=0)
|
365
|
+
#does not validate the # of rows
|
366
|
+
run_js <<-JS
|
367
|
+
var result = [];
|
368
|
+
for (var i = #{init}; i < #{init.to_i + cnt.to_i}; i++) {
|
369
|
+
#{ext_cell_val('i', col, grid)}
|
370
|
+
if(value instanceof Date){
|
371
|
+
result.push(value.toISOString().substring(0,value.toISOString().indexOf('T')));
|
372
|
+
} else {
|
373
|
+
result.push(value);
|
374
|
+
};
|
375
|
+
};
|
376
|
+
return result;
|
377
|
+
JS
|
378
|
+
end
|
379
|
+
|
380
|
+
def validate_col_values(col, val, grid, cnt, init=0)
|
381
|
+
run_js <<-JS
|
382
|
+
for (var i = #{init}; i < #{init.to_i + cnt.to_i}; i++) {
|
383
|
+
#{ext_cell_val('i', col, grid)}
|
384
|
+
if (value != #{val}) { return false };
|
385
|
+
};
|
386
|
+
return true;
|
387
|
+
JS
|
388
|
+
end
|
389
|
+
|
390
|
+
def cell_value(row, col, grid)
|
391
|
+
run_js <<-JS
|
392
|
+
#{ext_cell_val(row.to_i - 1, col, grid)}
|
393
|
+
return value;
|
394
|
+
JS
|
395
|
+
end
|
396
|
+
|
397
|
+
def select_row(row, grid, click_after=true)
|
398
|
+
resid = run_js(<<-JS, 10.0)
|
399
|
+
#{ext_var(grid, 'grid')}
|
400
|
+
grid.getSelectionModel().select(#{row.to_i-1});
|
401
|
+
return grid.getView().getNode(#{row.to_i-1}).id;
|
402
|
+
JS
|
403
|
+
find_by_id(resid).click if click_after
|
404
|
+
wait_for_ajax
|
405
|
+
return resid
|
406
|
+
end
|
407
|
+
|
408
|
+
def set_row_vals row, grid, fields
|
409
|
+
js_set_fields = fields.each_pair.map do |k,v|
|
410
|
+
"r.set('#{k}', '#{v}');"
|
411
|
+
end.join
|
412
|
+
|
413
|
+
run_js <<-JS
|
414
|
+
#{ext_var(ext_row(row.to_i - 1, grid), 'r')}
|
415
|
+
#{js_set_fields}
|
416
|
+
JS
|
417
|
+
end
|
418
|
+
|
419
|
+
def validate_row_values row, grid, fields
|
420
|
+
js_get_fields = fields.each_key.map do |k|
|
421
|
+
<<-JS
|
422
|
+
var col = Ext.ComponentQuery.query('gridcolumn[name=\"#{k}\"]', grid)[0];
|
423
|
+
var value = col.assoc ? r.get('meta').associationValues['#{k}'] :
|
424
|
+
r.get('#{k}');
|
425
|
+
if (value instanceof Date) {
|
426
|
+
obj['#{k}'] = value.toISOString().substring(0,
|
427
|
+
value.toISOString().indexOf('T'));
|
428
|
+
} else {
|
429
|
+
obj['#{k}'] = value;
|
430
|
+
};
|
431
|
+
JS
|
432
|
+
end.join
|
433
|
+
|
434
|
+
res = run_js <<-JS
|
435
|
+
#{ext_var(grid, 'grid')}
|
436
|
+
#{ext_var(ext_row(row.to_i - 1, 'grid'), 'r')}
|
437
|
+
var obj = {};
|
438
|
+
#{js_get_fields}
|
439
|
+
return obj;
|
440
|
+
JS
|
441
|
+
wait_for_element { expect(res).to eq fields.stringify_keys }
|
442
|
+
end
|
443
|
+
|
444
|
+
def sorted_by? col, grid, direction = 'asc'
|
445
|
+
run_js <<-JS
|
446
|
+
#{ext_var(grid, 'grid')}
|
447
|
+
#{ext_var(ext_col(col, 'grid'), 'col')}
|
448
|
+
var colValues = [];
|
449
|
+
|
450
|
+
grid.getStore().each(function(r){
|
451
|
+
var val = col.assoc ? r.get('meta').associationValues['#{col}'] :
|
452
|
+
r.get('#{col}');
|
453
|
+
if (val) colValues.#{direction == 'asc' ? 'push' : 'unshift'}(val);
|
454
|
+
});
|
455
|
+
|
456
|
+
return colValues.toString() === Ext.Array.sort(colValues).toString();
|
457
|
+
JS
|
458
|
+
end
|
459
|
+
|
460
|
+
# Grid Combobox Helpers
|
461
|
+
def select_grid_combobox(selection, row, field, grid)
|
462
|
+
run_js <<-JS
|
463
|
+
#{start_edit_grid_combobox(row, field, grid)}
|
464
|
+
|
465
|
+
rec = combo.findRecordByDisplay('#{selection}');
|
466
|
+
if (rec == false) { return false; }
|
467
|
+
combo.setValue(rec);
|
468
|
+
combo.onTriggerClick();
|
469
|
+
editor.completeEdit();
|
470
|
+
return true
|
471
|
+
JS
|
472
|
+
end
|
473
|
+
|
474
|
+
def grid_combobox_values(row, field, grid)
|
475
|
+
run_js <<-JS
|
476
|
+
#{start_edit_grid_combobox(row, field, grid)}
|
477
|
+
JS
|
478
|
+
|
479
|
+
# hacky: delay for combobox to render, assumes that the combobox is not empty
|
480
|
+
run_js <<-JS
|
481
|
+
#{ext_var(grid, 'grid')}
|
482
|
+
#{ext_var(ext_netzkecombo(field), 'combo')}
|
483
|
+
var r = [];
|
484
|
+
#{ext_var(ext_celleditor, 'editor')}
|
485
|
+
var store = combo.getStore();
|
486
|
+
|
487
|
+
// force a retry if the store is still loading
|
488
|
+
if (store.loading == true) { throw "store not loaded yet"; }
|
489
|
+
|
490
|
+
for(var i = 0; i < store.getCount(); i++) {
|
491
|
+
r.push(store.getAt(i).get('text'));
|
492
|
+
};
|
493
|
+
|
494
|
+
editor.completeEdit();
|
495
|
+
return r;
|
496
|
+
JS
|
497
|
+
end
|
498
|
+
|
499
|
+
def get_grid_combobox_val(index, row, field, grid)
|
500
|
+
run_js <<-JS
|
501
|
+
#{start_edit_grid_combobox(row, field, grid)}
|
502
|
+
JS
|
503
|
+
|
504
|
+
run_js <<-JS
|
505
|
+
#{ext_var(grid, 'grid')}
|
506
|
+
#{ext_var(ext_netzkecombo(field), 'combo')}
|
507
|
+
#{ext_var(ext_celleditor, 'editor')}
|
508
|
+
var val = combo.getStore().getAt(#{index}).get('text');
|
509
|
+
editor.completeEdit();
|
510
|
+
return val;
|
511
|
+
JS
|
512
|
+
end
|
513
|
+
|
514
|
+
def start_edit_grid_combobox(row, field, grid)
|
515
|
+
<<-JS
|
516
|
+
#{ext_var(grid, 'grid')}
|
517
|
+
#{ext_var(ext_netzkecombo(field), 'combo')}
|
518
|
+
#{ext_var(ext_celleditor, 'editor')}
|
519
|
+
|
520
|
+
editor.startEditByPosition({ row:#{row.to_i-1},
|
521
|
+
column:grid.headerCt.items.findIndex('name', '#{field}') });
|
522
|
+
|
523
|
+
var now = new Date().getTime();
|
524
|
+
while(new Date().getTime() < now + 500) { }
|
525
|
+
|
526
|
+
combo.onTriggerClick();
|
527
|
+
JS
|
528
|
+
end
|
529
|
+
|
530
|
+
# Field edit/Key in Helpers
|
531
|
+
def type_in(type_s, el_id)
|
532
|
+
el = find_by_id("#{el_id}")
|
533
|
+
el.native.clear()
|
534
|
+
type_s.each_char do |key|
|
535
|
+
el.native.send_keys(key)
|
536
|
+
end
|
537
|
+
el.send_keys(:enter)
|
538
|
+
end
|
539
|
+
|
540
|
+
def press_key_in(key, el_id)
|
541
|
+
kd = key.downcase
|
542
|
+
use_key = ['enter', 'return'].include?(kd) ? kd.to_sym : key
|
543
|
+
el = find_by_id("#{el_id}")
|
544
|
+
el.native.send_keys(use_key)
|
545
|
+
end
|
546
|
+
|
547
|
+
def id_of_edit_field(row, field, grid)
|
548
|
+
res = run_js <<-JS
|
549
|
+
#{ext_var(grid, 'grid')}
|
550
|
+
#{ext_var(ext_celleditor, 'editor')}
|
551
|
+
|
552
|
+
editor.startEditByPosition({ row:#{row.to_i-1},
|
553
|
+
column:grid.headerCt.items.findIndex('name', '#{field}') });
|
554
|
+
return editor.activeEditor.field.inputId;
|
555
|
+
JS
|
556
|
+
res
|
557
|
+
end
|
558
|
+
|
559
|
+
def end_edit(row, field, grid)
|
560
|
+
run_js <<-JS
|
561
|
+
#{ext_var(grid, 'grid')}
|
562
|
+
#{ext_var(ext_celleditor, 'editor')}
|
563
|
+
editor.completeEdit();
|
564
|
+
return true;
|
565
|
+
JS
|
566
|
+
end
|
567
|
+
|
568
|
+
# Combobox Helpers
|
569
|
+
def select_combobox(values, combo_label)
|
570
|
+
run_js <<-JS
|
571
|
+
var values = #{values.split(/,\s*/)};
|
572
|
+
#{ext_combo(combo_label)}
|
573
|
+
|
574
|
+
var arr = new Array();
|
575
|
+
for(var i=0; i < values.length; i++) {
|
576
|
+
arr[i] = combo.findRecordByDisplay(values[i]);
|
577
|
+
}
|
578
|
+
combo.select(arr);
|
579
|
+
if (combo.isExpanded) { combo.onTriggerClick(); }
|
580
|
+
JS
|
581
|
+
end
|
582
|
+
|
583
|
+
def combobox_values(combo_label)
|
584
|
+
run_js <<-JS
|
585
|
+
#{ext_combo(combo_label)}
|
586
|
+
var values = [];
|
587
|
+
combo.getStore().each(
|
588
|
+
function(r) { values.push(r.data.text || r.data.field1); });
|
589
|
+
return values;
|
590
|
+
JS
|
591
|
+
end
|
592
|
+
|
593
|
+
def click_combobox combo_label
|
594
|
+
run_js <<-JS
|
595
|
+
#{ext_combo(combo_label)}
|
596
|
+
combo.onTriggerClick();
|
597
|
+
JS
|
598
|
+
wait_for_element { !ajax_loading? }
|
599
|
+
end
|
600
|
+
|
601
|
+
# Capybara finders
|
602
|
+
def custom_selectors
|
603
|
+
Capybara.add_selector(:gridpanel) do
|
604
|
+
xpath { |name| ".//div[contains(@id, '#{name}')] | " +
|
605
|
+
".//div[contains(@id, '#{name.camelize(:lower)}')]" }
|
606
|
+
end
|
607
|
+
Capybara.add_selector(:msg) do
|
608
|
+
xpath { "//div[@id='msg-div']" }
|
609
|
+
end
|
610
|
+
Capybara.add_selector(:body) do
|
611
|
+
xpath { ".//div[@data-ref='body']" }
|
612
|
+
end
|
613
|
+
Capybara.add_selector(:input) do
|
614
|
+
xpath { |name| "//input[@name='#{name}']" }
|
615
|
+
end
|
616
|
+
Capybara.add_selector(:status) do
|
617
|
+
xpath { |name| "//div[contains(@id, 'statusbar')]//div[text()='#{name}']" }
|
618
|
+
end
|
619
|
+
Capybara.add_selector(:btn) do
|
620
|
+
xpath { |name| ".//span[text()='#{name}']" }
|
621
|
+
end
|
622
|
+
Capybara.add_selector(:refresh) do
|
623
|
+
xpath { "//img[contains(@class, 'x-tool-refresh')]" }
|
624
|
+
end
|
625
|
+
Capybara.add_selector(:gridcolumn) do
|
626
|
+
xpath { |name| ".//span[contains(@class, 'x-column-header')]" +
|
627
|
+
"//span[text()='#{name}']" }
|
628
|
+
end
|
629
|
+
end
|
630
|
+
end
|