<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>madogiwa0124</author_name>
  <author_url>https://blog.hatena.ne.jp/madogiwa0124/</author_url>
  <blog_title>Madogiwa Blog</blog_title>
  <blog_url>https://madogiwa0124.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
    <anon>Ruby</anon>
    <anon>JavaScript</anon>
    <anon>開発</anon>
  </categories>
  <description>今回はタイトルどおり、Rspec、Capybaraを使ったfeature specでJavaScript側の時間を操作するhelperを作ってみたので考慮漏れとかあるかもですが書きます。 ↓コードだけみたい人はこちら rspecを使ったfeature specでjavascriptの時間を指定時間に固定するhelper · GitHub 作った背景 どうやって使うか どうやって時間を固定しているか 出来ないこと おわりに 参考 作った背景 Railsで「公開して1時間以内の場合は記事にNEWのラベルを表示」する等の機能を検証するときにActiveSupport::Testing::TimeHe…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmadogiwa0124.hatenablog.com%2Fentry%2F2019%2F11%2F24%2F140617&quot; title=&quot;Rspec、Capybaraを使ったfeature specでJavaScript側でも指定した時間で固定できるHelperを作った - Madogiwa Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-24 14:06:17</published>
  <title>Rspec、Capybaraを使ったfeature specでJavaScript側でも指定した時間で固定できるHelperを作った</title>
  <type>rich</type>
  <url>https://madogiwa0124.hatenablog.com/entry/2019/11/24/140617</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
