This file contains hidden or 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
| apply plugin: 'java' | |
| repositories { mavenCentral() } | |
| dependencies { | |
| testCompile name: 'junit', group: 'junit', version: '4.8.2' | |
| testCompile name: 'hamcrest-all', group: 'org.hamcrest', version: '1.1' | |
| testCompile name: 'mockito-all', group: 'org.mockito', version: '1.8.5' | |
| } |
This file contains hidden or 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
| apply plugin: 'java' | |
| apply plugin: 'groovy' | |
| configurations { rspec } | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { |
This file contains hidden or 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
| describe Hash do | |
| context "with no keys" do | |
| subject { Hash.new } | |
| its(:size) { should == 0 } | |
| end | |
| context "including :a_key => 'a value'" do | |
| subject { {:a_key => 'a_value'} } | |
This file contains hidden or 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
| ActionView::Template::Error (Missing partial receipts/receipt_table with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml, :slim, :rep, :csvt], :formats=>[:js, :html], :locale=>[:en, :en]} in view paths "/Users/akiellor/Development/expenselynx/app/views", "/Users/akiellor/.rvm/gems/ruby-1.9.2-p0@expenselynx/gems/devise-1.1.7/app/views"): | |
| 7: $("#expensed_total").html("<%= number_to_currency current_user.receipts.where(:expensed => true).sum(:total) %>"); | |
| 8: $("#expensed_total").effect('highlight', {}, 'slow'); | |
| 9: | |
| 10: $("#recent_receipts").html("<h3 class=\"center\">Recent Receipts</h3><br /><%= escape_javascript(render :partial => 'receipts/receipt_table', :locals => {:receipts => @receipt.user.receipts.recent, :expensable => true, :expensed => true}) %>").effect('highlight', {}, 'slow'); | |
| 11: | |
| 12: $("#new_receipt")[0].reset(); | |
| app/views/receipts/create.js.erb:10:in `_app_views_receipts_create_js_erb__211119640030275519_2159261260__1916319490942236634' | |
| app/controllers/receipts_contr |
NewerOlder