This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@javascript | |
Feature: Device Info | |
As a Tapjoy employee | |
I want to search devices | |
So that I can efficiently manage their clicks, apps and rewards | |
Scenario: Visiting the "device info" page without a search | |
When I visit the device info "show" page | |
Then I should see the "search bar" | |
And I should not see the "Apps Section" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Andrew-Brasuells-MacBook-Pro:tapjoyads abrasuell$ cuc --tags @device_info | |
Using the default profile... | |
DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from require at /Users/abrasuell/.rvm/gems/ruby-1.8.7-p358@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:68) | |
WARNING: This version of mysql2 (0.3.11) doesn't ship with the ActiveRecord adapter bundled anymore as it's now part of Rails 3.1 | |
WARNING: Please use the 0.2.x releases if you plan on using it in Rails <= 3.0.x | |
@javascript @device_info @account_manager | |
Feature: Device Info | |
As a Tapjoy employee | |
I want to search devices | |
So that I can efficiently manage their clicks, apps and rewards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
State = { | |
locked: false, | |
push: function() { | |
if (State.locked) { return; } | |
var data = {}; | |
var current_tab = $('#main_tab_list .current-tab'); | |
var suffix = current_tab.attr('search_string'); | |
data['current_tab'] = current_tab.attr('id'); | |
data['exact_match'] = current_tab.attr('exact_match'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
humanized: 'Avg Bid' | |
modelAttribute: 'bid' | |
lambda: (val) -> | |
val = if _.isNumber(val) then '$' + (val/100).format(2) else val | |
new Handlebars.SafeString "<input class='body-only' type='text' value='" + val + "' />" + | |
"<span class='head-only'>" + val + "</span>" | |
.tableHeader |