About 88 results
Open links in new tab
  1. This document is a basic introduction to capturing and processing calibrated astronomical spectra using the RSpec software and either a Star Analyser grating or a slit spectrometer. The Star Analyser …

  2. RSpec is a unit test framework for the Ruby programming language. RSpec is different than traditional xUnit frameworks like JUnit because RSpec is a Behavior driven development tool. What this means …

  3. RSpec Cheatsheet Copyright © 2013 - thoughtbot, inc. 1 of 3 This document was created with Prince, a great way of getting web content onto paper. Things to Avoid in RSpec

  4. The context method holds an object(s) in a known state. The setup method is used to set up the context. The specify method holds the code that expresses the event and the expected outcome. …

  5. expect([1, 2, 3]).to match_array([3, 2, 1]) expect { |b| 5.tap(&b) }.to yield_control # passes regardless of yielded args expect { k += 1 }.to change { k }.by(1) expect { |b| yield_if_true(true, &b) }.to …

  6. In Testing Rails with RSpec I’ll walk you through taking a basic Rails application from completely untested to respectably tested with RSpec. The book covers Rails 5.1 and RSpec 3.6, which are the …

  7. Following is an example using RSpec to process diffraction grating spectra taken in the observatory of supernova SN2014J on 020414UT. The dominant spectral feature to look for in a Type 1a supernova …