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
@@ -0,0 +1,242 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
feature 'under Applications menu, Reports workflows', js: true do
|
4
|
+
before(:all) do
|
5
|
+
SOME_DATE = "20130520"
|
6
|
+
SOME_TIME = "1200"
|
7
|
+
SOME_DT = "#{SOME_DATE} #{SOME_TIME} PST8PDT"
|
8
|
+
@clean_file = "/tmp/clean_#{Process.pid}.psql"
|
9
|
+
save_clean_db(@clean_file)
|
10
|
+
|
11
|
+
populate_test_users
|
12
|
+
populate_sample_reports
|
13
|
+
custom_selectors
|
14
|
+
end
|
15
|
+
|
16
|
+
after(:all) do
|
17
|
+
restore_clean_db(@clean_file)
|
18
|
+
end
|
19
|
+
|
20
|
+
def go_to_reporting
|
21
|
+
press('Applications')
|
22
|
+
press('Reports')
|
23
|
+
end
|
24
|
+
|
25
|
+
def with_user(uname, &block)
|
26
|
+
u = Marty::User.find_by_login(uname)
|
27
|
+
begin
|
28
|
+
old_u, Mcfly.whodunnit = Mcfly.whodunnit, u
|
29
|
+
block.call(u)
|
30
|
+
ensure
|
31
|
+
Mcfly.whodunnit = old_u
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def populate_sample_reports
|
36
|
+
a_report = <<DELOREAN
|
37
|
+
PostingField:
|
38
|
+
field_label = "Posting"
|
39
|
+
xtype = ":combo"
|
40
|
+
name = "pt_name"
|
41
|
+
store = [lp.name for lp in Marty::Posting.get_latest(10)]
|
42
|
+
|
43
|
+
RateField:
|
44
|
+
field_label = "Note Rate"
|
45
|
+
xtype = ":numberfield"
|
46
|
+
name = "note_rate"
|
47
|
+
|
48
|
+
AA:
|
49
|
+
title = "AA"
|
50
|
+
pt_name =?
|
51
|
+
res1 = [pt_name + i.to_s() for i in [1,2,3,4]]
|
52
|
+
res2 = [res1] + [[a, a*2, a*3, a*4] for a in [1,2,3,4]]
|
53
|
+
|
54
|
+
form = [
|
55
|
+
PostingField,
|
56
|
+
]
|
57
|
+
|
58
|
+
result = res2
|
59
|
+
format = "csv"
|
60
|
+
|
61
|
+
BB:
|
62
|
+
title = "BB"
|
63
|
+
form = [ RateField ]
|
64
|
+
|
65
|
+
# Should not see this as a report since result is misspelled
|
66
|
+
resultx = 456
|
67
|
+
format = "csv"
|
68
|
+
|
69
|
+
DD: BB
|
70
|
+
# has valid role, should be displayed in nodename combo
|
71
|
+
roles = ["dev"]
|
72
|
+
title = "DD [role: dev]"
|
73
|
+
background_only = true
|
74
|
+
|
75
|
+
result = 444
|
76
|
+
DELOREAN
|
77
|
+
|
78
|
+
with_user("dev1") { |u|
|
79
|
+
Marty::Posting.do_create('BASE', SOME_DT, 'a comment')
|
80
|
+
|
81
|
+
Marty::Script.
|
82
|
+
load_script_bodies({ "SomeReport" => a_report, },
|
83
|
+
Date.today)
|
84
|
+
|
85
|
+
Marty::Script.
|
86
|
+
load_script_bodies({ "SomeReport" =>
|
87
|
+
a_report +
|
88
|
+
"CC: BB\n title=\"CC\"\n result = 123" },
|
89
|
+
Date.today + 1.minute)
|
90
|
+
}
|
91
|
+
end
|
92
|
+
|
93
|
+
let(:tg) { gridpanel('tag_grid') }
|
94
|
+
let(:sg) { gridpanel('script_grid') }
|
95
|
+
let(:rf) { gridpanel('report_form') }
|
96
|
+
|
97
|
+
def select_node node_name
|
98
|
+
wait_for_ajax
|
99
|
+
#hacky: assumes only 1 combobox without label
|
100
|
+
within(:gridpanel, 'report_select', match: :first) do
|
101
|
+
# hacky, hardcoding netzkecombobox dropdown arrow name
|
102
|
+
arrow = find(:input, 'nodename')['componentid'] + '-trigger-picker'
|
103
|
+
find(:xpath, ".//div[@id='#{arrow}']").click
|
104
|
+
find(:xpath, "//li[text()='#{node_name}']").click
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
it 'run_script displays proper data' do
|
109
|
+
log_in_as('dev1')
|
110
|
+
go_to_reporting
|
111
|
+
|
112
|
+
by 'select 2nd tag' do
|
113
|
+
wait_for_ajax
|
114
|
+
zoom_out(tg)
|
115
|
+
select_row(2, tg)
|
116
|
+
end
|
117
|
+
|
118
|
+
and_by 'select SomeReport script & CC node' do
|
119
|
+
select_row(1, sg)
|
120
|
+
select_node('CC (csv)')
|
121
|
+
end
|
122
|
+
|
123
|
+
and_by 'fill form' do
|
124
|
+
wait_for_ajax
|
125
|
+
|
126
|
+
within(:gridpanel, 'report_form', match: :first) do
|
127
|
+
fill_in('Note Rate', with: '3.00')
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
and_by 'do Background Report with delayed jobs' do
|
132
|
+
Delayed::Worker.delay_jobs = false
|
133
|
+
press('Background Report')
|
134
|
+
wait_for_ajax
|
135
|
+
Delayed::Worker.delay_jobs = true
|
136
|
+
end
|
137
|
+
|
138
|
+
and_by 'select AA node' do
|
139
|
+
select_node('AA (csv)')
|
140
|
+
end
|
141
|
+
|
142
|
+
and_by 'validate posting combobox' do
|
143
|
+
wait_for_ajax
|
144
|
+
expect(combobox_values('Posting')).to include('BASE-20130520-1200')
|
145
|
+
end
|
146
|
+
|
147
|
+
and_by 'select 3rd tag' do
|
148
|
+
select_row(3, tg)
|
149
|
+
end
|
150
|
+
|
151
|
+
and_by 'select SomeReport script' do
|
152
|
+
select_row(1, sg)
|
153
|
+
end
|
154
|
+
|
155
|
+
and_by 'validate script combobox' do
|
156
|
+
expect(combobox_values('')).to include('AA (csv)',
|
157
|
+
'DD [role: dev] (csv)',
|
158
|
+
'---')
|
159
|
+
end
|
160
|
+
|
161
|
+
and_by 'select AA node' do
|
162
|
+
select_node('AA (csv)')
|
163
|
+
end
|
164
|
+
|
165
|
+
and_by 'validate posting comobox' do
|
166
|
+
wait_for_ajax
|
167
|
+
expect(combobox_values('Posting')).to include('BASE-20130520-1200')
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
it 'run_script generates CSV' do
|
172
|
+
log_in_as('dev1')
|
173
|
+
go_to_reporting
|
174
|
+
|
175
|
+
by 'select 2nd tag' do
|
176
|
+
wait_for_ajax
|
177
|
+
zoom_out(tg)
|
178
|
+
select_row(2, tg)
|
179
|
+
end
|
180
|
+
|
181
|
+
and_by 'select SomeReport script & AA node' do
|
182
|
+
select_row(1, sg)
|
183
|
+
select_node('AA (csv)')
|
184
|
+
end
|
185
|
+
|
186
|
+
and_by 'fill form' do
|
187
|
+
wait_for_ajax
|
188
|
+
set_field_value('XYZ', '', 'pt_name')
|
189
|
+
# hidden field that causes results to be inlined
|
190
|
+
set_field_value('true', 'textfield', 'selected_testing')
|
191
|
+
press("Generate Report")
|
192
|
+
end
|
193
|
+
|
194
|
+
wait_for_element do
|
195
|
+
expect(page).to have_content('XYZ1,XYZ2,XYZ3,XYZ4 1,2,3,4 2,4,6,8 ' +
|
196
|
+
'3,6,9,12 4,8,12,16')
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
it 'report screen handles security roles properly - enabled' do
|
201
|
+
log_in_as('dev1')
|
202
|
+
go_to_reporting
|
203
|
+
|
204
|
+
by 'select 2nd tag' do
|
205
|
+
wait_for_ajax
|
206
|
+
zoom_out(tg)
|
207
|
+
select_row(2, tg)
|
208
|
+
end
|
209
|
+
|
210
|
+
and_by 'select SomeReport script & AA node' do
|
211
|
+
select_row(1, sg)
|
212
|
+
select_node('DD [role: dev] (csv)')
|
213
|
+
end
|
214
|
+
|
215
|
+
and_by 'generate report disabled' do
|
216
|
+
fill_in('Note Rate', with: '3.00')
|
217
|
+
expect(btn_disabled?('Generate Report', rf)).to be_truthy
|
218
|
+
expect(btn_disabled?('Background Report', rf)).to be_falsy
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
it 'report screen handles security roles properly - disabled' do
|
223
|
+
log_in_as('viewer1')
|
224
|
+
go_to_reporting
|
225
|
+
|
226
|
+
by 'select 2nd tag' do
|
227
|
+
wait_for_ajax
|
228
|
+
zoom_out(tg)
|
229
|
+
select_row(2, tg)
|
230
|
+
end
|
231
|
+
|
232
|
+
and_by 'select SomeReport script & AA' do
|
233
|
+
select_row(1, sg)
|
234
|
+
end
|
235
|
+
|
236
|
+
and_by 'no DD [role: dev] (csv)' do
|
237
|
+
expect(combobox_values('')).to include('AA (csv)',
|
238
|
+
'CC (csv)',
|
239
|
+
'---')
|
240
|
+
end
|
241
|
+
end
|
242
|
+
end
|
@@ -0,0 +1,308 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
feature 'under Applications menu, Scripting workflows', js: true do
|
4
|
+
|
5
|
+
before(:all) do
|
6
|
+
self.use_transactional_fixtures = false
|
7
|
+
|
8
|
+
@clean_file = "/tmp/clean_#{Process.pid}.psql"
|
9
|
+
save_clean_db(@clean_file)
|
10
|
+
|
11
|
+
custom_selectors
|
12
|
+
end
|
13
|
+
|
14
|
+
before(:each) do
|
15
|
+
populate_test_users
|
16
|
+
populate_test_scripts
|
17
|
+
end
|
18
|
+
|
19
|
+
after(:each) do
|
20
|
+
restore_clean_db(@clean_file, false)
|
21
|
+
end
|
22
|
+
|
23
|
+
after(:all) do
|
24
|
+
restore_clean_db(@clean_file)
|
25
|
+
self.use_transactional_fixtures = true
|
26
|
+
end
|
27
|
+
|
28
|
+
def go_to_scripting
|
29
|
+
press('Applications')
|
30
|
+
press('Scripting')
|
31
|
+
end
|
32
|
+
|
33
|
+
def with_user(uname, &block)
|
34
|
+
u = Marty::User.find_by_login(uname)
|
35
|
+
begin
|
36
|
+
old_u, Mcfly.whodunnit = Mcfly.whodunnit, u
|
37
|
+
block.call(u)
|
38
|
+
ensure
|
39
|
+
Mcfly.whodunnit = old_u
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def populate_test_scripts
|
44
|
+
lastid = nil
|
45
|
+
|
46
|
+
with_user("dev2") {
|
47
|
+
|
48
|
+
Marty::Script.
|
49
|
+
load_script_bodies({
|
50
|
+
"A1" => "#1\n",
|
51
|
+
"A2" => "#2\n",
|
52
|
+
"A3" => "#3\n",
|
53
|
+
"A4" => "#4\n",
|
54
|
+
"A5" => "#5\n",
|
55
|
+
}, Date.today)
|
56
|
+
|
57
|
+
# create 3 additional tags and modify A5 in the process
|
58
|
+
(1..3).each { |i|
|
59
|
+
body = Marty::Script.find_script("A5").body
|
60
|
+
|
61
|
+
Marty::Script.
|
62
|
+
load_script_bodies({
|
63
|
+
"A5" => body + "##{i}\n"
|
64
|
+
}, Date.today + i.minute)
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
|
69
|
+
let(:tg) { gridpanel('tag_grid') }
|
70
|
+
let(:sg) { gridpanel('script_grid') }
|
71
|
+
let(:sf) { gridpanel('script_form') }
|
72
|
+
|
73
|
+
it 'adding scripts and tags & ensure proper validations' do
|
74
|
+
log_in_as('dev1')
|
75
|
+
go_to_scripting
|
76
|
+
|
77
|
+
by 'select DEV tag' do
|
78
|
+
wait_for_ajax
|
79
|
+
select_row(1, tg)
|
80
|
+
end
|
81
|
+
|
82
|
+
and_by 'add script' do
|
83
|
+
press('New Script')
|
84
|
+
within(:gridpanel, 'add_window', match: :first) do
|
85
|
+
fill_in('Name', with: 'Xyz')
|
86
|
+
press('OK')
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
and_by 'select the new script' do
|
91
|
+
wait_for_ajax
|
92
|
+
within(:gridpanel, 'script_grid', match: :first) do
|
93
|
+
validate_row_values(6, sg, name: 'Xyz', tag: 'DEV')
|
94
|
+
select_row(6, sg)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
and_by 'fill script body' do
|
99
|
+
wait_for_ajax
|
100
|
+
within(:gridpanel, 'script_form', match: :first) do
|
101
|
+
set_field_value('###', '', 'body')
|
102
|
+
press('Save')
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
and_by 'new script body shows up' do
|
107
|
+
expect(page).to have_content '###'
|
108
|
+
end
|
109
|
+
|
110
|
+
and_by 'add new tag' do
|
111
|
+
press('New Tag')
|
112
|
+
within(:gridpanel, 'add_window', match: :first) do
|
113
|
+
fill_in('Comment', with: 'This is my log')
|
114
|
+
press('OK')
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
and_by 'new tag shows up' do
|
119
|
+
wait_for_ajax
|
120
|
+
within(:gridpanel, 'tag_grid', match: :first) do
|
121
|
+
expect(row_count(tg)).to eq 6
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
and_by 'tag row 2 has 6 scripts' do
|
126
|
+
select_row(2, tg)
|
127
|
+
wait_for_ajax
|
128
|
+
expect(row_count(sg)).to eq 6
|
129
|
+
end
|
130
|
+
|
131
|
+
and_by 'tag row 3 has 5 scripts' do
|
132
|
+
select_row(3, tg)
|
133
|
+
wait_for_ajax
|
134
|
+
expect(row_count(sg)).to eq 5
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
it 'add a script with invalid names, no scripts get added' do
|
139
|
+
log_in_as('dev1')
|
140
|
+
go_to_scripting
|
141
|
+
|
142
|
+
by 'select DEV tag' do
|
143
|
+
wait_for_ajax
|
144
|
+
select_row(1, tg)
|
145
|
+
end
|
146
|
+
|
147
|
+
and_by 'add script with duplicate name' do
|
148
|
+
press('New Script')
|
149
|
+
within(:gridpanel, 'add_window', match: :first) do
|
150
|
+
fill_in('Name', with: 'A1')
|
151
|
+
press('OK')
|
152
|
+
expect(find(:msg)).to have_content 'Name - record must be unique'
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
and_by 'add script with number name' do
|
157
|
+
within(:gridpanel, 'add_window', match: :first) do
|
158
|
+
fill_in('Name', with: '123')
|
159
|
+
press('OK')
|
160
|
+
expect(find(:msg)).to have_content 'Name must be capitalized'
|
161
|
+
press('Cancel')
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
and_by 'no script got added' do
|
166
|
+
wait_for_ajax
|
167
|
+
expect(row_count(sg)).to eq 5
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
it 'has proper access controls (viewer/anon users)' do
|
172
|
+
log_in_as('anon')
|
173
|
+
# no nav buttons available, but check direct access
|
174
|
+
ensure_on('/#scripting')
|
175
|
+
|
176
|
+
by 'nothing should work & log out' do
|
177
|
+
wait_for_ajax
|
178
|
+
expect(row_count(sg)).to eq 0
|
179
|
+
expect(row_count(tg)).to eq 0
|
180
|
+
expect(btn_disabled?('New Script', sg)).to be_truthy
|
181
|
+
expect(btn_disabled?('New Tag', tg)).to be_truthy
|
182
|
+
log_out
|
183
|
+
end
|
184
|
+
|
185
|
+
and_by 'log in as viewer1' do
|
186
|
+
log_in_as('viewer1')
|
187
|
+
go_to_scripting
|
188
|
+
end
|
189
|
+
|
190
|
+
and_by 'viewable but cannot add scripts or tags' do
|
191
|
+
wait_for_ajax
|
192
|
+
expect(row_count(sg)).to eq 5
|
193
|
+
select_row(1, tg)
|
194
|
+
wait_for_ajax
|
195
|
+
expect(btn_disabled?('New Script', sg)).to be_truthy
|
196
|
+
expect(btn_disabled?('New Tag', tg)).to be_truthy
|
197
|
+
select_row(4, tg)
|
198
|
+
wait_for_ajax
|
199
|
+
expect(row_count(sg)).to eq 5
|
200
|
+
expect(btn_disabled?('Save', sf)).to be_truthy
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
it 'selects different scripts & shows correct details' do
|
205
|
+
log_in_as('dev1')
|
206
|
+
go_to_scripting
|
207
|
+
|
208
|
+
by 'select tag row 2' do
|
209
|
+
wait_for_ajax
|
210
|
+
select_row(2, tg)
|
211
|
+
end
|
212
|
+
|
213
|
+
and_by 'select script row 5' do
|
214
|
+
wait_for_ajax
|
215
|
+
select_row(5, sg)
|
216
|
+
end
|
217
|
+
|
218
|
+
and_by 'form displays correct body' do
|
219
|
+
wait_for_ajax
|
220
|
+
expect(page).to have_content "#5\n#1\n#2\n#3\n"
|
221
|
+
end
|
222
|
+
|
223
|
+
and_by 'select different tag' do
|
224
|
+
select_row(4, tg)
|
225
|
+
end
|
226
|
+
|
227
|
+
and_by 'select script row 5' do
|
228
|
+
wait_for_ajax
|
229
|
+
select_row(5, sg)
|
230
|
+
end
|
231
|
+
|
232
|
+
and_by 'form displays updated body' do
|
233
|
+
wait_for_ajax
|
234
|
+
expect(page).to have_content "#5\n#1\n"
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
it 'saving an edited script' do
|
239
|
+
log_in_as('dev1')
|
240
|
+
go_to_scripting
|
241
|
+
|
242
|
+
by 'select DEV tag' do
|
243
|
+
wait_for_ajax
|
244
|
+
select_row(1, tg)
|
245
|
+
end
|
246
|
+
|
247
|
+
and_by 'select script row 5' do
|
248
|
+
wait_for_ajax
|
249
|
+
select_row(5, sg)
|
250
|
+
end
|
251
|
+
|
252
|
+
and_by 'edit script form body' do
|
253
|
+
wait_for_ajax
|
254
|
+
within(:gridpanel, 'script_form', match: :first) do
|
255
|
+
set_field_value('#123\n#456\n', '', 'body')
|
256
|
+
press('Save')
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
260
|
+
and_by 'new script does not exist in old tag' do
|
261
|
+
wait_for_ajax
|
262
|
+
select_row(2, tg)
|
263
|
+
# FIX? selection change required to refresh script form
|
264
|
+
select_row(1, sg)
|
265
|
+
select_row(5, sg)
|
266
|
+
wait_for_ajax
|
267
|
+
expect(page).not_to have_content "#123\n#456\n"
|
268
|
+
select_row(1, sg)
|
269
|
+
end
|
270
|
+
|
271
|
+
and_by 'make new tag' do
|
272
|
+
press('New Tag')
|
273
|
+
within(:gridpanel, 'add_window', match: :first) do
|
274
|
+
fill_in('Comment', with: 'ABCD')
|
275
|
+
press('OK')
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
and_by 'new tag contains new script' do
|
280
|
+
wait_for_ajax
|
281
|
+
select_row(2, tg)
|
282
|
+
wait_for_ajax
|
283
|
+
select_row(5, sg)
|
284
|
+
expect(page).to have_content "#123\n#456\n"
|
285
|
+
expect(validate_row_values(2, tg, comment: 'ABCD')).to be_truthy
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
it 'checking in without changes does not modify history' do
|
290
|
+
log_in_as('dev1')
|
291
|
+
go_to_scripting
|
292
|
+
|
293
|
+
by 'select DEV tag' do
|
294
|
+
wait_for_ajax
|
295
|
+
select_row(1, tg)
|
296
|
+
end
|
297
|
+
|
298
|
+
and_by 'select script row 1' do
|
299
|
+
wait_for_ajax
|
300
|
+
select_row(1, sg)
|
301
|
+
end
|
302
|
+
|
303
|
+
and_by 'save without changes' do
|
304
|
+
press('Save')
|
305
|
+
expect(find(:msg)).to have_content 'no save needed'
|
306
|
+
end
|
307
|
+
end
|
308
|
+
end
|