Test
610 views | +0 today
Follow
Test
Test Test Test
Curated by Great scooppy
Your new post is loading...
Your new post is loading...
Scooped by Great scooppy
Scoop.it!

How To Stub Paperclip’s has_attached_file Method With RSpec

In the past few weeks, I've been working with Paperclip, an incredible gem for uploading files to Amazon's S3. Here is how I wrote my rspec tests to stub the has_attached_file method...
more...
No comment yet.
Scooped by Great scooppy
Scoop.it!

The Twelve-Factor App

A methodology for building modern, scalable, maintainable software-as-a-service apps.
Great scooppy's insight:

12 factors app

more...
No comment yet.
Scooped by Great scooppy
Scoop.it!

Rails Testing — Factory Girl

Rails Testing — Factory Girl | Test | Scoop.it
Today we're going to talk about how to augment Rails testing with Thoughtbot's fantastic Factory Girl
Great scooppy's insight:

good factory girl explanation

more...
No comment yet.
Scooped by Great scooppy
Scoop.it!

One assertion per test & DAMP not DRY « Blog.XDite.net

One assertion per test & DAMP not DRY « Blog.XDite.net | Test | Scoop.it
TL; DR : 寫測試兩個鐵律:一次只測一件事情、不要自作聰明幫測試碼 DRY。

最近跟著朋友 Kevin Wang,現 Tealeaf (Ruby on Rails 線上教學公司) 教師,...
more...
No comment yet.
Scooped by Great scooppy
Scoop.it!

My top 7 RSpec best practices | Dmytro Shteflyuk's Home

My top 7 RSpec best practices | Dmytro Shteflyuk's Home | Test | Scoop.it
I use RSpec in all my projects. It's really hard to overemphasize how helpful it is and how much easier becomes your life if you have good specs coverage. But
more...
No comment yet.
Scooped by Great scooppy
Scoop.it!

Must have gems for development machine in ruby on rails | CodeBeerStartups

Must have gems for development machine in ruby on rails | CodeBeerStartups | Test | Scoop.it
Some of the best gems that I always use for my ruby on rails application development
Great scooppy's insight:

pretty good stuff for rails

more...
No comment yet.
Scooped by Great scooppy
Scoop.it!

How I Learned To Love Testing by Gregg Polack

Presentation given by Gregg Polack on Orlando Ruby Users Group. Original URL: http://railsenvy.com/2007/10/4/how-i-learned-to-love-testing-presentation Uploaded…
Great scooppy's insight:

good instruction, although it's 4 years ago

more...
No comment yet.
Scooped by Great scooppy
Scoop.it!

使用 rspec, capybara 和 zeus 等测试 rails 应用 - xhh's blog

使用 rspec, capybara 和 zeus 等测试 rails 应用 - xhh's blog | Test | Scoop.it
1. Rails 应用测试策略 根据我个人的经验, 对于 Rails 应用需要做两方面的测试: 单元测试: 针对 models, controllers, helpers, mailers 和 lib 下的代码. 其中对 controllers 的测试不是从集成测试的角度, 而是从 …
more...
No comment yet.
Scooped by Great scooppy
Scoop.it!

Better Acceptance Tests with Page Objects

Better Acceptance Tests with Page Objects | Test | Scoop.it
During my Test-Driven Rails workshop earlier this week (which is also available as an online workshop), my students and I were writing acceptance tests surrounding marking todo items as complete. The...
more...
No comment yet.
Scooped by Great scooppy
Scoop.it!

Better Specs { rspec guidelines with ruby }

Better Specs { rspec guidelines with ruby } | Test | Scoop.it
Better Specs tries to fill the miss of testing guidelines by collecting most of the best practices developers has been learning the hard way through years of experience
more...
No comment yet.
Scooped by Great scooppy
Scoop.it!

How to Fix the No sound Error after Upgrading to Ubuntu 13.04 | LinuxG.net

# fix sound

$ sudo apt-get remove --purge alsa-base pulseaudio indicator-sound

$ sudo apt-get install alsa-base pulseaudio indicator-sound

$ sudo alsa force-reload


# fix sound indicator

reinstall “indicator-sound”


# solution2 

1) ctl alt T (gets a command window)

2) type alsamixer and pressEnter

3) press right arrow until you see “Enabled” above Auto-mute

4) press the down arrow and it will say “Disabled”

5) press Esc on your keyboard

6) now see if you have sound


Great scooppy's insight:

good

more...
No comment yet.