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,351 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
feature 'under Applications menu, Scripting (debug) workflows', js: true do
|
4
|
+
|
5
|
+
before(:all) do
|
6
|
+
@clean_file = "/tmp/clean_#{Process.pid}.psql"
|
7
|
+
save_clean_db(@clean_file)
|
8
|
+
populate_test_users
|
9
|
+
populate_sample_scripts1
|
10
|
+
populate_sample_scripts2
|
11
|
+
custom_selectors
|
12
|
+
end
|
13
|
+
|
14
|
+
after(:all) do
|
15
|
+
restore_clean_db(@clean_file)
|
16
|
+
end
|
17
|
+
|
18
|
+
def go_to_scripting
|
19
|
+
press('Applications')
|
20
|
+
press('Scripting')
|
21
|
+
expect(page).to have_content 'Scripts'
|
22
|
+
end
|
23
|
+
|
24
|
+
def with_user(uname, &block)
|
25
|
+
u = Marty::User.find_by_login(uname)
|
26
|
+
begin
|
27
|
+
old_u, Mcfly.whodunnit = Mcfly.whodunnit, u
|
28
|
+
block.call(u)
|
29
|
+
ensure
|
30
|
+
Mcfly.whodunnit = old_u
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def populate_sample_scripts1
|
35
|
+
sample_script = <<DELOREAN
|
36
|
+
A:
|
37
|
+
a =? 123.0
|
38
|
+
b = a * 3
|
39
|
+
|
40
|
+
B: A
|
41
|
+
c = a + b
|
42
|
+
d =?
|
43
|
+
e = c / a
|
44
|
+
|
45
|
+
C:
|
46
|
+
p0 =?
|
47
|
+
a = 456.0 + p0
|
48
|
+
DELOREAN
|
49
|
+
|
50
|
+
with_user("dev1") { |u|
|
51
|
+
Marty::Script.
|
52
|
+
load_script_bodies({
|
53
|
+
"M1" => sample_script,
|
54
|
+
"M2" => sample_script.gsub(/a/, "aa").gsub(/b/, "bb"),
|
55
|
+
}, Date.today)
|
56
|
+
|
57
|
+
# add a DEV version of M1.
|
58
|
+
s = Marty::Script.lookup('infinity', "M1")
|
59
|
+
s.body = sample_script.gsub(/A/, "AA") + ' e =? "hello"'
|
60
|
+
s.save!
|
61
|
+
}
|
62
|
+
end
|
63
|
+
|
64
|
+
def populate_sample_scripts2
|
65
|
+
sample_script2 = <<DELOREAN
|
66
|
+
A:
|
67
|
+
a = 2
|
68
|
+
p =?
|
69
|
+
c = a * 2
|
70
|
+
pc = p + c
|
71
|
+
|
72
|
+
C: A
|
73
|
+
p =? 3
|
74
|
+
|
75
|
+
B: A
|
76
|
+
p =? 5
|
77
|
+
DELOREAN
|
78
|
+
|
79
|
+
with_user("dev1") { |u|
|
80
|
+
Marty::Script.
|
81
|
+
load_script_bodies({
|
82
|
+
"M3" => sample_script2,
|
83
|
+
}, Date.today + 2.minute)
|
84
|
+
}
|
85
|
+
end
|
86
|
+
|
87
|
+
def tab_press tab_text
|
88
|
+
#we need a separate method for tab clicks
|
89
|
+
wait_for_element do
|
90
|
+
find_by_id(ext_button_id(tab_text), visible: :all).click
|
91
|
+
true
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
let(:tg) { gridpanel('tag_grid') }
|
96
|
+
let(:sg) { gridpanel('script_grid') }
|
97
|
+
|
98
|
+
it 'switches between tags & scripts, computes values and checks for errors' do
|
99
|
+
log_in_as('dev1')
|
100
|
+
go_to_scripting
|
101
|
+
|
102
|
+
by 'select M1 sample script' do
|
103
|
+
wait_for_ajax
|
104
|
+
zoom_out(tg)
|
105
|
+
select_row(2, tg)
|
106
|
+
select_row(1, sg)
|
107
|
+
tab_press('Testing')
|
108
|
+
end
|
109
|
+
|
110
|
+
and_by 'compute attrs with bad params' do
|
111
|
+
wait_for_ajax
|
112
|
+
wait_for_element do
|
113
|
+
fill_in('attrs', with: "A.a; A.b; B.a; C.a")
|
114
|
+
true
|
115
|
+
end
|
116
|
+
fill_in('params', with: "a = 1.1\nc = 2.2")
|
117
|
+
press('Compute')
|
118
|
+
end
|
119
|
+
|
120
|
+
and_by 'see errors' do
|
121
|
+
wait_for_ajax
|
122
|
+
expect(page).to have_content 'undefined parameter p0'
|
123
|
+
end
|
124
|
+
|
125
|
+
and_by 'compute attrs with good params' do
|
126
|
+
fill_in('params', with: "a = 1.1\nc = 2.2\np0 = 3.3\n")
|
127
|
+
press('Compute')
|
128
|
+
end
|
129
|
+
|
130
|
+
and_by 'correct results' do
|
131
|
+
wait_for_ajax
|
132
|
+
result = find(:gridpanel, 'result', match: :first)
|
133
|
+
expect(result).to have_content 'A.a = 1.1'
|
134
|
+
expect(result).to have_content 'A.b = 3.3'
|
135
|
+
expect(result).to have_content 'B.a = 1.1'
|
136
|
+
expect(result).to have_content 'C.a = 459.3'
|
137
|
+
end
|
138
|
+
|
139
|
+
and_by 'compute new attrs & bad params (div by 0)' do
|
140
|
+
fill_in('attrs', with: "B.e")
|
141
|
+
fill_in('params', with: "a = 0\n")
|
142
|
+
press('Compute')
|
143
|
+
end
|
144
|
+
|
145
|
+
and_by 'see errors' do
|
146
|
+
wait_for_ajax
|
147
|
+
result = find(:gridpanel, 'result', match: :first)
|
148
|
+
expect(result).to have_content 'divided by 0'
|
149
|
+
expect(result).to have_content 'Backtrace'
|
150
|
+
expect(result).to have_content 'M1:8 /'
|
151
|
+
expect(result).to have_content 'M1:8 e'
|
152
|
+
end
|
153
|
+
|
154
|
+
and_by 'select M1 (for dev) sample script' do
|
155
|
+
tab_press('Selection')
|
156
|
+
wait_for_ajax
|
157
|
+
find(:gridpanel, 'script_grid', match: :first, wait: 10)
|
158
|
+
select_row(1, tg)
|
159
|
+
select_row(1, sg)
|
160
|
+
tab_press('Testing')
|
161
|
+
end
|
162
|
+
|
163
|
+
and_by 'compute attrs with empty params' do
|
164
|
+
wait_for_ajax
|
165
|
+
fill_in('attrs', with: "A.a")
|
166
|
+
fill_in('params', with: "")
|
167
|
+
press('Compute')
|
168
|
+
end
|
169
|
+
|
170
|
+
and_by 'see errors' do
|
171
|
+
wait_for_ajax
|
172
|
+
result = find(:gridpanel, 'result', match: :first)
|
173
|
+
expect(result).to have_content 'node A is undefined'
|
174
|
+
end
|
175
|
+
|
176
|
+
and_by 'compute attrs that without necessary params' do
|
177
|
+
fill_in('attrs', with: "C.e")
|
178
|
+
press('Compute')
|
179
|
+
end
|
180
|
+
|
181
|
+
and_by 'correct result' do
|
182
|
+
wait_for_ajax
|
183
|
+
result = find(:gridpanel, 'result', match: :first)
|
184
|
+
expect(result).to have_content 'hello'
|
185
|
+
end
|
186
|
+
|
187
|
+
and_by 'select M2 sample grid' do
|
188
|
+
tab_press('Selection')
|
189
|
+
wait_for_ajax
|
190
|
+
select_row(2, sg)
|
191
|
+
tab_press('Testing')
|
192
|
+
end
|
193
|
+
|
194
|
+
and_by 'compute attrs with good params' do
|
195
|
+
wait_for_ajax
|
196
|
+
fill_in('attrs', with: "B.aa")
|
197
|
+
fill_in('params', with: "aa = 111")
|
198
|
+
press('Compute')
|
199
|
+
end
|
200
|
+
|
201
|
+
and_by 'correct result' do
|
202
|
+
wait_for_ajax
|
203
|
+
result = find(:gridpanel, 'result', match: :first)
|
204
|
+
expect(result).to have_content 'B.aa = 111'
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
208
|
+
it 'malformed params/attrs input shows proper errors' do
|
209
|
+
log_in_as('dev1')
|
210
|
+
go_to_scripting
|
211
|
+
|
212
|
+
by 'select M1 sample script' do
|
213
|
+
wait_for_ajax
|
214
|
+
select_row(1, sg)
|
215
|
+
tab_press('Testing')
|
216
|
+
end
|
217
|
+
|
218
|
+
and_by 'use bad attributes' do
|
219
|
+
wait_for_ajax
|
220
|
+
wait_for_element do
|
221
|
+
fill_in('attrs', with: "A; y; >")
|
222
|
+
true
|
223
|
+
end
|
224
|
+
press('Compute')
|
225
|
+
end
|
226
|
+
|
227
|
+
and_by 'see errors' do
|
228
|
+
wait_for_ajax
|
229
|
+
result = find(:gridpanel, 'result', match: :first)
|
230
|
+
expect(result).to have_content 'bad attribute'
|
231
|
+
end
|
232
|
+
|
233
|
+
and_by 'use bad node' do
|
234
|
+
wait_for_ajax
|
235
|
+
fill_in('attrs', with: ">.<")
|
236
|
+
press('Compute')
|
237
|
+
end
|
238
|
+
|
239
|
+
and_by 'see errors' do
|
240
|
+
wait_for_ajax
|
241
|
+
result = find(:gridpanel, 'result', match: :first)
|
242
|
+
expect(result).to have_content 'bad node'
|
243
|
+
end
|
244
|
+
|
245
|
+
and_by 'use good attr' do
|
246
|
+
wait_for_ajax
|
247
|
+
fill_in('attrs', with: "A.a")
|
248
|
+
press('Compute')
|
249
|
+
end
|
250
|
+
|
251
|
+
and_by 'see good result' do
|
252
|
+
wait_for_ajax
|
253
|
+
result = find(:gridpanel, 'result', match: :first)
|
254
|
+
expect(result).to have_content 'A.a = 123.0'
|
255
|
+
end
|
256
|
+
|
257
|
+
and_by 'use undefined attr' do
|
258
|
+
wait_for_ajax
|
259
|
+
fill_in('attrs', with: "A.new")
|
260
|
+
press('Compute')
|
261
|
+
end
|
262
|
+
|
263
|
+
and_by 'see errors' do
|
264
|
+
wait_for_ajax
|
265
|
+
result = find(:gridpanel, 'result', match: :first)
|
266
|
+
expect(result).to have_content 'undefined'
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
it 'computes simple results' do
|
271
|
+
log_in_as('dev1')
|
272
|
+
go_to_scripting
|
273
|
+
|
274
|
+
by 'select M3 sample script' do
|
275
|
+
wait_for_ajax
|
276
|
+
zoom_out(sg)
|
277
|
+
select_row(3, sg)
|
278
|
+
tab_press('Testing')
|
279
|
+
end
|
280
|
+
|
281
|
+
and_by 'use good attr' do
|
282
|
+
wait_for_ajax
|
283
|
+
wait_for_element do
|
284
|
+
fill_in('attrs', with: "C.p; B.p")
|
285
|
+
true
|
286
|
+
end
|
287
|
+
press('Compute')
|
288
|
+
end
|
289
|
+
|
290
|
+
and_by 'see good result' do
|
291
|
+
wait_for_ajax
|
292
|
+
result = find(:gridpanel, 'result', match: :first)
|
293
|
+
expect(result).to have_content 'C.p = 3'
|
294
|
+
expect(result).to have_content 'B.p = 5'
|
295
|
+
end
|
296
|
+
|
297
|
+
and_by 'add a good param' do
|
298
|
+
wait_for_ajax
|
299
|
+
fill_in('params', with: "p = 7")
|
300
|
+
press('Compute')
|
301
|
+
end
|
302
|
+
|
303
|
+
and_by 'see good result' do
|
304
|
+
wait_for_ajax
|
305
|
+
result = find(:gridpanel, 'result', match: :first)
|
306
|
+
expect(result).to have_content 'C.p = 7'
|
307
|
+
expect(result).to have_content 'B.p = 7'
|
308
|
+
end
|
309
|
+
|
310
|
+
and_by 'use good attr' do
|
311
|
+
wait_for_ajax
|
312
|
+
fill_in('attrs', with: "C.pc; B.pc")
|
313
|
+
fill_in('params', with: "")
|
314
|
+
press('Compute')
|
315
|
+
end
|
316
|
+
|
317
|
+
and_by 'see good result' do
|
318
|
+
wait_for_ajax
|
319
|
+
result = find(:gridpanel, 'result', match: :first)
|
320
|
+
expect(result).to have_content 'C.pc = 7'
|
321
|
+
expect(result).to have_content 'B.pc = 9'
|
322
|
+
end
|
323
|
+
|
324
|
+
and_by 'use bad attr' do
|
325
|
+
wait_for_ajax
|
326
|
+
fill_in('attrs', with: "C.pc; B.pc; A.pc;")
|
327
|
+
fill_in('params', with: "")
|
328
|
+
press('Compute')
|
329
|
+
end
|
330
|
+
|
331
|
+
and_by 'see error' do
|
332
|
+
wait_for_ajax
|
333
|
+
result = find(:gridpanel, 'result', match: :first)
|
334
|
+
expect(result).to have_content 'undefined parameter p'
|
335
|
+
end
|
336
|
+
|
337
|
+
and_by 'use good attr & params' do
|
338
|
+
wait_for_ajax
|
339
|
+
fill_in('attrs', with: "C.pc; B.pc")
|
340
|
+
fill_in('params', with: "p = 123.0")
|
341
|
+
press('Compute')
|
342
|
+
end
|
343
|
+
|
344
|
+
and_by 'see good result' do
|
345
|
+
wait_for_ajax
|
346
|
+
result = find(:gridpanel, 'result', match: :first)
|
347
|
+
expect(result).to have_content 'C.pc = 127'
|
348
|
+
expect(result).to have_content 'B.pc = 127'
|
349
|
+
end
|
350
|
+
end
|
351
|
+
end
|
@@ -0,0 +1,164 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
feature 'under Sytem menu, User Management worflows', js: true do
|
4
|
+
|
5
|
+
before(:all) do
|
6
|
+
custom_selectors
|
7
|
+
end
|
8
|
+
|
9
|
+
def go_to_user_view
|
10
|
+
press('System')
|
11
|
+
press('User Management')
|
12
|
+
expect(page).to have_content 'marty'
|
13
|
+
end
|
14
|
+
|
15
|
+
def go_to_user_view_backdoor
|
16
|
+
sys_btn = first(:btn, 'System')
|
17
|
+
if sys_btn
|
18
|
+
sys_btn.click
|
19
|
+
expect(page).not_to have_content 'User Management'
|
20
|
+
end
|
21
|
+
|
22
|
+
ensure_on("/#userView")
|
23
|
+
end
|
24
|
+
|
25
|
+
# Checkbox Helpers
|
26
|
+
def check name, val = true
|
27
|
+
page.driver.browser.execute_script <<-JS
|
28
|
+
var poc = Ext.ComponentQuery.query("checkbox[fieldLabel='#{name}']")[0];
|
29
|
+
poc = poc || Ext.ComponentQuery.query("checkbox[name='#{name}']")[0];
|
30
|
+
poc.setValue(#{val});
|
31
|
+
JS
|
32
|
+
end
|
33
|
+
|
34
|
+
def uncheck name
|
35
|
+
check(name, false)
|
36
|
+
end
|
37
|
+
|
38
|
+
let(:uv) { gridpanel('user_view') }
|
39
|
+
|
40
|
+
it 'marty user can add/edit but not delete users' do
|
41
|
+
log_in_as('marty')
|
42
|
+
go_to_user_view
|
43
|
+
|
44
|
+
by 'add new user' do
|
45
|
+
wait_for_ajax
|
46
|
+
zoom_out uv
|
47
|
+
press('New User')
|
48
|
+
within(:gridpanel, 'add_window', match: :first) do
|
49
|
+
press 'OK'
|
50
|
+
m = find :msg
|
51
|
+
expect(m).to have_content "Login can't be blank"
|
52
|
+
expect(m).to have_content "Firstname can't be blank"
|
53
|
+
expect(m).to have_content "Lastname can't be blank"
|
54
|
+
|
55
|
+
fill_in('Login', with: 'test_login')
|
56
|
+
fill_in('First Name', with: 'test_fname')
|
57
|
+
fill_in('Last Name', with: 'test_lname')
|
58
|
+
check 'Active'
|
59
|
+
click_combobox 'Roles'
|
60
|
+
select_combobox('Admin, Developer, User Manager, Viewer', 'Roles')
|
61
|
+
press 'OK'
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
and_by 'edit the added user' do
|
66
|
+
wait_for_ajax
|
67
|
+
expect(row_count(uv)).to eq 2
|
68
|
+
select_row(2, uv)
|
69
|
+
press('Edit in form')
|
70
|
+
|
71
|
+
within(:gridpanel, 'edit_window', match: :first) do
|
72
|
+
fill_in('Login', with: 'new_login')
|
73
|
+
fill_in('First Name', with: 'new_fname')
|
74
|
+
fill_in('Last Name', with: 'new_lname')
|
75
|
+
click_combobox 'Roles'
|
76
|
+
select_combobox('User Manager, Viewer', 'Roles')
|
77
|
+
press 'OK'
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
and_by 'check row got edited' do
|
82
|
+
wait_for_ajax
|
83
|
+
validate_row_values(2, uv,
|
84
|
+
:login => 'new_login',
|
85
|
+
:firstname => 'new_fname',
|
86
|
+
:lastname => 'new_lname',
|
87
|
+
:active => true,
|
88
|
+
:roles => 'User Manager,Viewer')
|
89
|
+
end
|
90
|
+
|
91
|
+
and_by 'delete user fails' do
|
92
|
+
select_row(2, uv)
|
93
|
+
press("Delete")
|
94
|
+
press("Yes")
|
95
|
+
expect(find(:msg)).to have_content("Users cannot be deleted - set " +
|
96
|
+
"'Active' to false to disable the " +
|
97
|
+
"account")
|
98
|
+
select_row(1, uv)
|
99
|
+
press("Delete")
|
100
|
+
press("Yes")
|
101
|
+
expect(find(:msg)).to have_content("You cannot delete your own account")
|
102
|
+
|
103
|
+
expect(row_count(uv)).to eq 2
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'check user permissions & what buttons appear' do
|
108
|
+
|
109
|
+
before(:all) do
|
110
|
+
populate_test_users
|
111
|
+
end
|
112
|
+
|
113
|
+
it 'user manager has access' do
|
114
|
+
log_in_as('user_manager1')
|
115
|
+
go_to_user_view
|
116
|
+
by 'check buttons' do
|
117
|
+
find(:btn, 'New User', match: :first)
|
118
|
+
zoom_out uv
|
119
|
+
expect(btn_disabled?('New User', uv)).to be_falsy
|
120
|
+
expect(btn_disabled?('Edit in form', uv)).to be_falsy
|
121
|
+
expect(btn_disabled?('Delete', uv)).to be_falsy
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
it 'admin has access' do
|
126
|
+
log_in_as('admin1')
|
127
|
+
go_to_user_view
|
128
|
+
and_by 'check buttons' do
|
129
|
+
find(:btn, 'New User', match: :first)
|
130
|
+
expect(btn_disabled?('New User', uv)).to be_falsy
|
131
|
+
expect(btn_disabled?('Edit in form', uv)).to be_falsy
|
132
|
+
expect(btn_disabled?('Delete', uv)).to be_falsy
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
it 'viewer denied access' do
|
137
|
+
log_in_as('viewer1')
|
138
|
+
go_to_user_view_backdoor
|
139
|
+
and_by 'check buttons' do
|
140
|
+
find(:btn, 'New User', match: :first)
|
141
|
+
#selection needed to make delete button disappear
|
142
|
+
wait_for_ajax
|
143
|
+
select_row(1, uv)
|
144
|
+
expect(btn_disabled?('New User', uv)).to be_truthy
|
145
|
+
expect(btn_disabled?('Edit in form', uv)).to be_truthy
|
146
|
+
expect(btn_disabled?('Delete', uv)).to be_truthy
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
it 'developer denied access' do
|
151
|
+
log_in_as('dev1')
|
152
|
+
go_to_user_view_backdoor
|
153
|
+
and_by 'check buttons' do
|
154
|
+
find(:btn, 'New User', match: :first)
|
155
|
+
#selection needed to make delete button disappear
|
156
|
+
wait_for_ajax
|
157
|
+
select_row(1, uv)
|
158
|
+
expect(btn_disabled?('New User', uv)).to be_truthy
|
159
|
+
expect(btn_disabled?('Edit in form', uv)).to be_truthy
|
160
|
+
expect(btn_disabled?('Delete', uv)).to be_truthy
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|